summaryrefslogtreecommitdiff
path: root/tools/cxsocket.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-12-14 12:48:08 +0000
committerphintuka <phintuka>2006-12-14 12:48:08 +0000
commit2607994759d102e8810d98af43e18ffdab9df2a1 (patch)
tree5d11b7b1230d606e2f4213a951cbdb3a4f7bedb6 /tools/cxsocket.h
parent3627698ffde75a284580d91b89569da936215438 (diff)
downloadxineliboutput-2607994759d102e8810d98af43e18ffdab9df2a1.tar.gz
xineliboutput-2607994759d102e8810d98af43e18ffdab9df2a1.tar.bz2
Use strings from xine_input_vdr_net.h
Diffstat (limited to 'tools/cxsocket.h')
-rw-r--r--tools/cxsocket.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/cxsocket.h b/tools/cxsocket.h
index 8080f3ab..40b2f1f9 100644
--- a/tools/cxsocket.h
+++ b/tools/cxsocket.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: cxsocket.h,v 1.10 2006-09-20 06:57:00 phintuka Exp $
+ * $Id: cxsocket.h,v 1.11 2006-12-14 12:48:08 phintuka Exp $
*
*/
@@ -247,12 +247,13 @@ static inline int udp_discovery_broadcast(int fd_discovery, int m_Port)
char *test = NULL;
asprintf(&test,
- "VDR xineliboutput DISCOVERY 1.0\r\n"
- "Server port: %d\r\n"
- "Server version: vdr-" VDRVERSION "\r\n"
- "\txineliboutput-" XINELIBOUTPUT_VERSION "\r\n"
+ DISCOVERY_1_0_HDR //"VDR xineliboutput DISCOVERY 1.0" "\r\n"
+ DISCOVERY_1_0_SVR //"Server port: %d" "\r\n"
+ DISCOVERY_1_0_VERSION //"Server version: vdr-" VDRVERSION "\r\n"
+ //"\txineliboutput-" XINELIBOUTPUT_VERSION "\r\n"
"\r\n",
m_Port);
+
int testlen = strlen(test);
int result;
if(testlen != sendto(fd_discovery, test, testlen, 0,