diff options
author | lado <herrlado@gmail.com> | 2011-11-13 01:47:28 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-13 01:47:28 +0100 |
commit | 260463100321887f4c36f25e42dcfa8838e3a7fc (patch) | |
tree | c15cc70f588da305eec8bd565c86b62337524c71 | |
parent | b23971084ae46db3445992000718187329cbb3ca (diff) | |
download | vdr-manager-260463100321887f4c36f25e42dcfa8838e3a7fc.tar.gz vdr-manager-260463100321887f4c36f25e42dcfa8838e3a7fc.tar.bz2 |
TODO and info to eval zlib
-rw-r--r-- | vdr-vdrmanager/sock.cpp | 3 |
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? |