summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 2a746cf..fa63378 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -237,7 +237,8 @@ static int64_t ot_try_bind( char ip[4], uint16_t port, PROTO_FLAG proto ) {
237 237
238#ifdef _DEBUG 238#ifdef _DEBUG
239 char *protos[] = {"TCP","UDP","UDP mcast"}; 239 char *protos[] = {"TCP","UDP","UDP mcast"};
240 fprintf( stderr, "Binding socket type %s to address %d.%d.%d.%d:%d...", protos[proto],(int)ip[0],(int)ip[1],(int)ip[2],(int)ip[3],port); 240 uint8_t *_ip = (uint8_t *)ip;
241 fprintf( stderr, "Binding socket type %s to address %d.%d.%d.%d:%d...", protos[proto],_ip[0],_ip[1],_ip[2],_ip[3],port);
241#endif 242#endif
242 243
243 if( socket_bind4_reuse( s, ip, port ) == -1 ) 244 if( socket_bind4_reuse( s, ip, port ) == -1 )