summaryrefslogtreecommitdiff
path: root/httpclient.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-09-01 21:09:15 +0200
committerthlo <smarttv640@gmail.com>2013-09-01 21:09:15 +0200
commitb67fdbd19781ea9a5c00e5ce2332ae80aa4e2647 (patch)
tree1e73bb20f1ac91725dfd1e0f124c419c1fe7a391 /httpclient.c
parentd9ccb92d336bb36a90b3ab9ace2d221644442d43 (diff)
downloadvdr-plugin-smarttvweb-b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647.tar.gz
vdr-plugin-smarttvweb-b67fdbd19781ea9a5c00e5ce2332ae80aa4e2647.tar.bz2
New enable flag for RecCmds and new Port parameter in smarttvweb.conf. Bug fixes.
Diffstat (limited to 'httpclient.c')
-rw-r--r--httpclient.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/httpclient.c b/httpclient.c
index a3fb192..722a659 100644
--- a/httpclient.c
+++ b/httpclient.c
@@ -364,7 +364,6 @@ string cHttpYtPushClient::getMsgBody(int) {
//------------------------------
cHttpCfgPushClient::cHttpCfgPushClient(int f, int id, int port, SmartTvServer* fac, string peer) : cHttpClientBase(f, id, port, fac, peer) {
-
createRequestMessage("");
}
@@ -403,5 +402,5 @@ cHttpMesgPushClient::~cHttpMesgPushClient() {
}
string cHttpMesgPushClient::getMsgBody(int) {
- return "{\"type\":\"MESG\",payload:" + mMesg +"}";;
+ return "{\"type\":\"MESG\",payload:\"" + mMesg +"\"}";;
}