diff options
author | phintuka <phintuka> | 2007-03-26 14:16:51 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-03-26 14:16:51 +0000 |
commit | a578af11b34adf00fe12b665ae51bd89d0bfea4b (patch) | |
tree | edac301f3cdc10d36a303c51fccc2ff4cb31cad9 /tools/cxsocket.c | |
parent | 05ab716c0e7b7900016984c17c557b2df96dd0ff (diff) | |
download | xineliboutput-a578af11b34adf00fe12b665ae51bd89d0bfea4b.tar.gz xineliboutput-a578af11b34adf00fe12b665ae51bd89d0bfea4b.tar.bz2 |
Show requested ttl in error message
Diffstat (limited to 'tools/cxsocket.c')
-rw-r--r-- | tools/cxsocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cxsocket.c b/tools/cxsocket.c index 2d444f47..10a7d202 100644 --- a/tools/cxsocket.c +++ b/tools/cxsocket.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: cxsocket.c,v 1.8 2007-03-14 11:48:42 phintuka Exp $ + * $Id: cxsocket.c,v 1.9 2007-03-26 14:16:51 phintuka Exp $ * */ @@ -102,7 +102,7 @@ bool cxSocket::set_multicast(int ttl) } if(setsockopt(m_fd, IPPROTO_IP, IP_MULTICAST_TTL, &iTtl, sizeof(int))) { - LOGERR("cxSocket: setsockopt(IP_MULTICAST_TTL) failed"); + LOGERR("cxSocket: setsockopt(IP_MULTICAST_TTL, %d) failed", iTtl); return false; } |