mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
fixed Linux build
This commit is contained in:
parent
af8c31a809
commit
1df37c1ba3
2 changed files with 11 additions and 8 deletions
|
@ -164,8 +164,8 @@ Orignal is sensei of crypto ;)
|
|||
std::cout << "Address found " << addr << " in " << id_thread << std::endl;
|
||||
found=true;
|
||||
FoundNonce=*nonce;
|
||||
free(hash);
|
||||
free(b);
|
||||
// free(hash);
|
||||
// free(b);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -173,11 +173,12 @@ Orignal is sensei of crypto ;)
|
|||
hashescounter++;
|
||||
if (found)
|
||||
{
|
||||
free(hash);
|
||||
free(b);
|
||||
// free(hash);
|
||||
// free(b);
|
||||
break;
|
||||
}
|
||||
}//while
|
||||
return true;
|
||||
}
|
||||
|
||||
int main (int argc, char * argv[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue