mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Fix wrong behaviour of the register-status command on ARM architecture.
This commit is contained in:
parent
abb881cc2c
commit
1cb97f1b51
2 changed files with 2 additions and 2 deletions
|
|
@ -65,8 +65,8 @@ void RegisterStatusCommand::exec(Daemon *app, const char *args) {
|
|||
}
|
||||
app->sendResponse(response);
|
||||
} else {
|
||||
ist.clear();
|
||||
ist.str(param);
|
||||
ist.seekg(0);
|
||||
ist >> pid;
|
||||
if (ist.fail()) {
|
||||
app->sendResponse(Response("Incorrect parameter.", Response::Error));
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ void UnregisterCommand::exec(Daemon *app, const char *args) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
ist.clear();
|
||||
ist.str(param);
|
||||
ist.seekg(0);
|
||||
ist >> pid;
|
||||
if (ist.fail()) {
|
||||
app->sendResponse(Response("Incorrect parameter.", Response::Error));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue