From cfa356c8680d26eec970c7b54beea0717b91f2b0 Mon Sep 17 00:00:00 2001
From: Ghislain MARY
Date: Wed, 12 Dec 2012 15:37:07 +0100
Subject: [PATCH] Some cleaning.
---
daemon/Makefile.am | 5 +++--
daemon/daemon.cc | 13 +++++--------
daemon/daemon.h | 1 -
3 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 24a9a5b30..4ae6295ef 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -18,6 +18,7 @@ linphone_daemon_SOURCES=daemon.cc \
commands/firewall-policy.cc \
commands/help.cc \
commands/ipv6.cc \
+ commands/jitterbuffer.cc \
commands/media-encryption.cc \
commands/msfilter-add-fmtp.cc \
commands/play-wav.cc \
@@ -46,6 +47,7 @@ linphone_daemon_SOURCES=daemon.cc \
commands/firewall-policy.h \
commands/help.h \
commands/ipv6.h \
+ commands/jitterbuffer.h \
commands/media-encryption.h \
commands/msfilter-add-fmtp.h \
commands/play-wav.h \
@@ -57,8 +59,7 @@ linphone_daemon_SOURCES=daemon.cc \
commands/terminate.h \
commands/unregister.h \
commands/quit.h \
- commands/version.h \
- commands/jitterbuffer.cc commands/jitterbuffer.h
+ commands/version.h
linphone_daemon_pipetest_SOURCES=daemon-pipetest.c
diff --git a/daemon/daemon.cc b/daemon/daemon.cc
index bed3b1afb..88e39cbaa 100644
--- a/daemon/daemon.cc
+++ b/daemon/daemon.cc
@@ -389,7 +389,6 @@ void Daemon::initCommands() {
mCommands.push_back(new VersionCommand());
mCommands.push_back(new QuitCommand());
mCommands.push_back(new HelpCommand());
-
}
void Daemon::uninitCommands() {
@@ -561,7 +560,7 @@ void Daemon::dumpCommandsHelp() {
static string htmlEscape(const string &orig){
string ret=orig;
size_t pos;
-
+
while(1){
pos=ret.find('<');
if (pos!=string::npos){
@@ -607,7 +606,7 @@ void Daemon::dumpCommandsHelpHtml(){
}
cout<<"
"<