mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-18 16:44:31 +00:00
Fixed custom worker names
This commit is contained in:
parent
a4d84e318d
commit
edd782ac23
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ static bool get_custom_user(const char* s, char (&user)[N])
|
||||||
}
|
}
|
||||||
// Limit to printable ASCII characters
|
// Limit to printable ASCII characters
|
||||||
if (c >= ' ' && c <= '~') {
|
if (c >= ' ' && c <= '~') {
|
||||||
user[len++] += c;
|
user[len++] = c;
|
||||||
}
|
}
|
||||||
++s;
|
++s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue