mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 22:28:07 +00:00
linphone-daemon readPipe bugfix
This commit is contained in:
parent
f74e37becf
commit
67c8f846f2
1 changed files with 3 additions and 3 deletions
|
|
@ -679,7 +679,7 @@ string Daemon::readPipe() {
|
|||
close(childfd);
|
||||
} else {
|
||||
mChildFd = (ortp_pipe_t)childfd;
|
||||
return NULL;
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -692,7 +692,7 @@ string Daemon::readPipe() {
|
|||
ms_message("Client disconnected");
|
||||
ortp_server_pipe_close_client(mChildFd);
|
||||
mChildFd = (ortp_pipe_t)-1;
|
||||
return NULL;
|
||||
return "";
|
||||
}
|
||||
buffer[ret] = '\0';
|
||||
return buffer;
|
||||
|
|
@ -700,7 +700,7 @@ string Daemon::readPipe() {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
return NULL;
|
||||
return "";
|
||||
}
|
||||
|
||||
void Daemon::dumpCommandsHelp() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue