Commit 67c8f846 authored by Sandrine Avakian's avatar Sandrine Avakian

linphone-daemon readPipe bugfix

parent f74e37be
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment