projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert sizeof foo to sizeof(foo).
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
b82dae8
..
cac15f9
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-255,7
+255,7
@@
static void check_dead_connections(void) {
} else {
if(c->status.remove) {
logger(LOG_WARNING, "Old connection_t for %s (%s) status %04x still lingering, deleting...",
} else {
if(c->status.remove) {
logger(LOG_WARNING, "Old connection_t for %s (%s) status %04x still lingering, deleting...",
- c->name, c->hostname, bitfield_to_int(&c->status, sizeof
c->status
));
+ c->name, c->hostname, bitfield_to_int(&c->status, sizeof
(c->status)
));
connection_del(c);
continue;
}
connection_del(c);
continue;
}