gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 02b7453eb64ef79063401c98ad1773a4011dc913
parent 355641eae5d8f883d387d2dd4283200f91402a6a
Author: Matthias Wachs <wachs@net.in.tum.de>
Date:   Mon,  9 Sep 2013 11:27:27 +0000

fixing coverity issue


Diffstat:
Msrc/transport/test_transport_api_bidirectional_connect.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/transport/test_transport_api_bidirectional_connect.c b/src/transport/test_transport_api_bidirectional_connect.c @@ -144,12 +144,11 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, GNUNET_assert (t != NULL); char *ps = GNUNET_strdup (GNUNET_i2s (&p->id)); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s') received message of type %d and size %u size from peer %u (`%4s')!\n", p->no, ps, ntohs (message->type), ntohs (message->size), t->no, GNUNET_i2s (&t->id)); - + GNUNET_free (ps); if ((MTYPE == ntohs (message->type)) && (sizeof (struct GNUNET_MessageHeader) == ntohs (message->size))) {