mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-10-31 03:57:35 +00:00
Fixed "unknown command" message
This commit is contained in:
parent
d4e27a27cb
commit
3802886722
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ void ConsoleCommands::stdinReadCallback(uv_stream_t* stream, ssize_t nread, cons
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!c->name.len) {
|
if (!c->name.len) {
|
||||||
LOGWARN(0, "Unknown command " << command);
|
LOGWARN(0, "Unknown command " << command.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
k = command.find_first_not_of("\r\n", k + 1);
|
k = command.find_first_not_of("\r\n", k + 1);
|
||||||
|
|
Loading…
Reference in a new issue