projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use %x instead of %lx where appropriate.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
ce4c753
..
2372890
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-98,7
+98,7
@@
int dump_connections(struct evbuffer *out) {
for(node = connection_tree->head; node; node = node->next) {
c = node->data;
if(evbuffer_add_printf(out,
for(node = connection_tree->head; node; node = node->next) {
c = node->data;
if(evbuffer_add_printf(out,
- " %s at %s options %
l
x socket %d status %04x\n",
+ " %s at %s options %x socket %d status %04x\n",
c->name, c->hostname, c->options, c->socket,
bitfield_to_int(&c->status, sizeof c->status)) == -1)
return errno;
c->name, c->hostname, c->options, c->socket,
bitfield_to_int(&c->status, sizeof c->status)) == -1)
return errno;