From dba79b65b935c252c76e2df8a13e472ebefb4fb0 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 14 May 2012 08:19:01 +0000 Subject: - fix for rev 0002348 --- src/transport/test_transport_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/test_transport_api.c') 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) } GNUNET_assert (size >= MSIZE); - if (buf != NULL) { + memset (buf, '\0', MSIZE); hdr = buf; hdr->size = htons (MSIZE); hdr->type = htons (MTYPE); -- cgit v1.2.3