projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fall back to VERSION file if .git is not present
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
f6a9ba1
..
6a217d6
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-56,8
+56,8
@@
bool send_meta(connection_t *c, const void *buffer, size_t length) {
abort();
}
abort();
}
- logger(DEBUG_META, LOG_DEBUG, "Sending %
z
u bytes of metadata to %s (%s)",
- length, c->name, c->hostname);
+ logger(DEBUG_META, LOG_DEBUG, "Sending %
l
u bytes of metadata to %s (%s)",
+
(unsigned long)
length, c->name, c->hostname);
if(c->protocol_minor >= 2) {
return sptps_send_record(&c->sptps, 0, buffer, length);
if(c->protocol_minor >= 2) {
return sptps_send_record(&c->sptps, 0, buffer, length);
@@
-100,8
+100,8
@@
void send_meta_raw(connection_t *c, const void *buffer, size_t length) {
abort();
}
abort();
}
- logger(DEBUG_META, LOG_DEBUG, "Sending %
z
u bytes of raw metadata to %s (%s)",
- length, c->name, c->hostname);
+ logger(DEBUG_META, LOG_DEBUG, "Sending %
l
u bytes of raw metadata to %s (%s)",
+
(unsigned long)
length, c->name, c->hostname);
buffer_add(&c->outbuf, buffer, length);
buffer_add(&c->outbuf, buffer, length);