summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend_svr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend_svr.c b/frontend_svr.c
index 06f71386..b16e1fa9 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.63 2008-11-18 15:07:11 phintuka Exp $
+ * $Id: frontend_svr.c,v 1.64 2008-12-19 15:15:07 phintuka Exp $
*
*/
@@ -257,6 +257,8 @@ static int write_osd_command(cxSocket& s, osd_command_t *cmd)
return 0;
}
+ cmd->size = sizeof(osd_command_t);
+
if(8 != s.write("OSDCMD\r\n", 8, 100)) {
LOGDBG("write_osd_command: write (command) failed");
return -1;