From 72a1564ca14392cc2e1d044554c6e86a0eda9409 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 3 Mar 2009 01:24:02 +0000 Subject: Value of off is not used, so don't calculate it --- opentracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentracker.c b/opentracker.c index defc1f7..b839efc 100644 --- a/opentracker.c +++ b/opentracker.c @@ -260,7 +260,7 @@ static int64_t ot_try_bind( ot_ip6 ip, uint16_t port, PROTO_FLAG proto ) { char _debug[512]; int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] ); off += fmt_ip6( _debug+off, ip); - off += snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port); + snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port); fputs( _debug, stderr ); #endif -- cgit v1.2.3