summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-10-18 12:50:12 +0000
committerphintuka <phintuka>2006-10-18 12:50:12 +0000
commit2ef7f41913df818937789a9cba1d988126d2280f (patch)
tree2c82671b92cc31e8d630d96cd1f6166292aff040
parent49108b60323b6d8d7d4579f24968ab2134348f8c (diff)
downloadxineliboutput-2ef7f41913df818937789a9cba1d988126d2280f.tar.gz
xineliboutput-2ef7f41913df818937789a9cba1d988126d2280f.tar.bz2
Larger control buffer
-rw-r--r--frontend_svr.c4
-rw-r--r--frontend_svr.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend_svr.c b/frontend_svr.c
index 0694e0f9..d3c92b5b 100644
--- a/frontend_svr.c
+++ b/frontend_svr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend_svr.c,v 1.24 2006-10-18 08:41:08 phintuka Exp $
+ * $Id: frontend_svr.c,v 1.25 2006-10-18 12:50:12 phintuka Exp $
*
*/
@@ -1243,7 +1243,7 @@ void cXinelibServer::Read_Control(int cli)
++m_CtrlBufPos[cli];
- if( m_CtrlBufPos[cli] > 79) {
+ if( m_CtrlBufPos[cli] > 256) {
LOGMSG("Received too long control message from client %d (%d bytes)",
cli, m_CtrlBufPos[cli]);
LOGMSG("%81s",m_CtrlBuf[cli]);
diff --git a/frontend_svr.h b/frontend_svr.h
index 77859e16..fa6c12b9 100644
--- a/frontend_svr.h
+++ b/frontend_svr.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend_svr.h,v 1.8 2006-09-19 04:20:31 phintuka Exp $
+ * $Id: frontend_svr.h,v 1.9 2006-10-18 12:50:12 phintuka Exp $
*
*/
@@ -99,7 +99,7 @@ protected:
int fd_control[MAXCLIENTS];
int fd_data[MAXCLIENTS];
- char m_CtrlBuf[MAXCLIENTS][90+1];
+ char m_CtrlBuf[MAXCLIENTS][1024+1];
int m_CtrlBufPos[MAXCLIENTS];
bool m_bUdp[MAXCLIENTS];