mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
Fix build of linphone-daemon on Linux.
This commit is contained in:
parent
b485789d08
commit
e5ac143a2c
3 changed files with 3 additions and 4 deletions
|
|
@ -23,10 +23,10 @@ using namespace std;
|
|||
|
||||
class ConfigResponse : public Response {
|
||||
public:
|
||||
ConfigResponse(const char *value);
|
||||
ConfigResponse(const string &value);
|
||||
};
|
||||
|
||||
ConfigResponse::ConfigResponse(const char *value) : Response() {
|
||||
ConfigResponse::ConfigResponse(const string& value) : Response() {
|
||||
ostringstream ost;
|
||||
ost << "Value: " << value ? value : "<unset>";
|
||||
setBody(ost.str());
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ void VideoSource::exec(Daemon* app, const string& args)
|
|||
LinphoneCall *call = NULL;
|
||||
string subcommand;
|
||||
int cid;
|
||||
int argc = 0;
|
||||
bool activate = false;
|
||||
|
||||
istringstream ist(args);
|
||||
|
|
|
|||
|
|
@ -683,7 +683,7 @@ string Daemon::readPipe() {
|
|||
mChildFd = (ortp_pipe_t)-1;
|
||||
return NULL;
|
||||
}
|
||||
buffer[ret] = '\0;
|
||||
buffer[ret] = '\0';
|
||||
return buffer;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue