mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 21:37:18 +01:00
Merge pull request #65 from majorpakhom/fix/vanity-and-gitignore
Update .gitignore and fix issues with check_prefix in vanitygen
This commit is contained in:
commit
89e569e54e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -11,6 +11,7 @@ keyinfo
|
|||
famtool
|
||||
i2pbase64
|
||||
regaddr
|
||||
regaddralias
|
||||
routerinfo
|
||||
vain
|
||||
b33address
|
||||
|
|
|
@ -73,7 +73,7 @@ static bool check_prefix(const char * buf)
|
|||
unsigned short size_str=0;
|
||||
while(*buf)
|
||||
{
|
||||
if(*buf < 48 || (*buf > 57 && *buf < 65) || (*buf > 64 && *buf < 94) || *buf > 125 || size_str > 52)
|
||||
if(!((*buf > 49 && *buf < 56) || (*buf > 96 && *buf < 123)) || size_str > 52)
|
||||
return false;
|
||||
size_str++;
|
||||
buf++;
|
||||
|
|
Loading…
Reference in a new issue