diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 566d892b1..ceba9c3c7 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c | |||
@@ -223,9 +223,9 @@ notify_ready (void *cls, size_t size, void *buf) | |||
223 | } | 223 | } |
224 | 224 | ||
225 | GNUNET_assert (size >= MSIZE); | 225 | GNUNET_assert (size >= MSIZE); |
226 | |||
227 | if (buf != NULL) | 226 | if (buf != NULL) |
228 | { | 227 | { |
228 | memset (buf, '\0', MSIZE); | ||
229 | hdr = buf; | 229 | hdr = buf; |
230 | hdr->size = htons (MSIZE); | 230 | hdr->size = htons (MSIZE); |
231 | hdr->type = htons (MTYPE); | 231 | hdr->type = htons (MTYPE); |