mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
Value of off is not used, so don't calculate it
This commit is contained in:
parent
a6fe338040
commit
72a1564ca1
@ -260,7 +260,7 @@ static int64_t ot_try_bind( ot_ip6 ip, uint16_t port, PROTO_FLAG proto ) {
|
|||||||
char _debug[512];
|
char _debug[512];
|
||||||
int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] );
|
int off = snprintf( _debug, sizeof(_debug), "Binding socket type %s to address [", protos[proto] );
|
||||||
off += fmt_ip6( _debug+off, ip);
|
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 );
|
fputs( _debug, stderr );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user