summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-03-03 01:24:02 +0000
committererdgeist <>2009-03-03 01:24:02 +0000
commit72a1564ca14392cc2e1d044554c6e86a0eda9409 (patch)
tree6d0d2f7a75d15b5fe23e73e8401c68facee173a7
parenta6fe338040b604230a3ec660f82166c595c9ee63 (diff)
Value of off is not used, so don't calculate it
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
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 ) {
260 char _debug[512]; 260 char _debug[512];
261 int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] ); 261 int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] );
262 off += fmt_ip6( _debug+off, ip); 262 off += fmt_ip6( _debug+off, ip);
263 off += snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port); 263 snprintf( _debug + off, sizeof(_debug)-off, "]:%d...", port);
264 fputs( _debug, stderr ); 264 fputs( _debug, stderr );
265#endif 265#endif
266 266