summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/sock.cpp
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-11-13 01:47:28 +0100
committerlado <herrlado@gmail.com>2011-11-13 01:47:28 +0100
commit260463100321887f4c36f25e42dcfa8838e3a7fc (patch)
treec15cc70f588da305eec8bd565c86b62337524c71 /vdr-vdrmanager/sock.cpp
parentb23971084ae46db3445992000718187329cbb3ca (diff)
downloadvdr-manager-260463100321887f4c36f25e42dcfa8838e3a7fc.tar.gz
vdr-manager-260463100321887f4c36f25e42dcfa8838e3a7fc.tar.bz2
TODO and info to eval zlib
Diffstat (limited to 'vdr-vdrmanager/sock.cpp')
-rw-r--r--vdr-vdrmanager/sock.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/vdr-vdrmanager/sock.cpp b/vdr-vdrmanager/sock.cpp
index 7100ea9..df07aa6 100644
--- a/vdr-vdrmanager/sock.cpp
+++ b/vdr-vdrmanager/sock.cpp
@@ -4,6 +4,7 @@
#include <unistd.h>
#include <vdr/plugin.h>
#include "sock.h"
+#include "helpers.h"
static int clientno = 0;
@@ -216,6 +217,8 @@ void cVdrmanagerClientSocket::Disconnect() {
bool cVdrmanagerClientSocket::PutLine(string line) {
// add line to write buffer
+ string line2 = cHelpers::compress_string(line);
+ isyslog("PutLine, line size is %s, with zlib it would be %s", line.size(), line2.size());
writebuf += line;
// data present?