X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmeta.c;h=6a217d613cabd5487e49d314a346116552185376;hb=28b7a53b6;hp=f6a9ba18e685b1273ce6279338966b5df14b16bf;hpb=0912276c6467aa3ee6f570b31245367319da572a;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);