Skip to content
Snippets Groups Projects
Commit 9387b23c authored by Mathieu Valois's avatar Mathieu Valois
Browse files

Merge branch 'master' into object-oriented

parents 169ef6ff 077a87b2
No related branches found
No related tags found
No related merge requests found
......@@ -308,15 +308,10 @@ void* generate_stats_thread(void* threadarg) {
string password;
uint64_t nbPasswords;
// fast-forward to beginning of work
while(nbline < my_data->lineBegin){
readfile.ignore('\n');
readfile.get();
++nbline;
}
while(nbline < my_data->lineEnd && readfile >> line) {
while(readfile >> line){
++nbline;
if (nbline < my_data->lineBegin){ continue; }
if (nbline > my_data->lineEnd){ break; }
if (line.size() == 0){ continue; }
if (my_data->withcount) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment