X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsptps_test.c;h=2999d27fcf45b3fe2ec7a3032567a0576cf1e859;hb=153abaa4d940bf2bc9bd7275d5efe5c01c354190;hp=30cc33c087157e6ae1cf559fb43ebef6a5d7ccaa;hpb=248d300f1be0d5f2aae39202041699ab2b46c56b;p=tinc diff --git a/src/sptps_test.c b/src/sptps_test.c index 30cc33c0..2999d27f 100644 --- a/src/sptps_test.c +++ b/src/sptps_test.c @@ -32,7 +32,7 @@ char *send_meta; ecdsa_t mykey, hiskey; -static bool send_data(void *handle, const char *data, size_t len) { +static bool send_data(void *handle, uint8_t type, const char *data, size_t len) { char hex[len * 2 + 1]; bin2hex(data, hex, len); fprintf(stderr, "Sending %d bytes of data:\n%s\n", (int)len, hex);