X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fmeta.c;h=6a217d613cabd5487e49d314a346116552185376;hb=8c10a4131f19dc27b0bc56ef48ae481d1fa03cb0;hp=f6a9ba18e685b1273ce6279338966b5df14b16bf;hpb=bcac314fe2d758e85335d499dbb4300bfa8a599e;p=tinc diff --git a/src/meta.c b/src/meta.c index f6a9ba18..6a217d61 100644 --- 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(); } - logger(DEBUG_META, LOG_DEBUG, "Sending %zu bytes of metadata to %s (%s)", - length, c->name, c->hostname); + logger(DEBUG_META, LOG_DEBUG, "Sending %lu 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); @@ -100,8 +100,8 @@ void send_meta_raw(connection_t *c, const void *buffer, size_t length) { abort(); } - logger(DEBUG_META, LOG_DEBUG, "Sending %zu bytes of raw metadata to %s (%s)", - length, c->name, c->hostname); + logger(DEBUG_META, LOG_DEBUG, "Sending %lu bytes of raw metadata to %s (%s)", + (unsigned long)length, c->name, c->hostname); buffer_add(&c->outbuf, buffer, length);