diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 6699164..e2e48f2 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -257,7 +257,7 @@ static int64_t ot_try_bind( ot_ip6 ip, uint16_t port, PROTO_FLAG proto ) { | |||
257 | char *protos[] = {"TCP","UDP","UDP mcast"}; | 257 | char *protos[] = {"TCP","UDP","UDP mcast"}; |
258 | char _debug[512]; | 258 | char _debug[512]; |
259 | int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] ); | 259 | int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] ); |
260 | off += fmt_ip6( _debug+off, ip); | 260 | off += fmt_ip6c( _debug+off, ip); |
261 | snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port); | 261 | snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port); |
262 | fputs( _debug, stderr ); | 262 | fputs( _debug, stderr ); |
263 | #endif | 263 | #endif |