Use correct format specifiers.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 16 Sep 2009 18:17:11 +0000 (20:17 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 16 Sep 2009 18:17:11 +0000 (20:17 +0200)
src/protocol_key.c

index 60e9d73..bc02054 100644 (file)
@@ -160,7 +160,7 @@ bool send_ans_key(node_t *to) {
        to->received_seqno = 0;
        memset(to->late, 0, sizeof(to->late));
 
-       return send_request(to->nexthop->connection, "%d %s %s %s %d %d %d %d", ANS_KEY,
+       return send_request(to->nexthop->connection, "%d %s %s %s %d %d %zu %d", ANS_KEY,
                                                myself->name, to->name, key,
                                                cipher_get_nid(&to->incipher),
                                                digest_get_nid(&to->indigest),