From: Sree Harsha Totakura Date: Tue, 22 May 2012 15:03:38 +0000 (+0000) Subject: fixed segmentation fault due to missing GNUNET_STREAM_OPTION_END X-Git-Tag: initial-import-from-subversion-38251~13428 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4af62f9eece2cabd6cd2693a7791e8a778ad3c93;p=oweals%2Fgnunet.git fixed segmentation fault due to missing GNUNET_STREAM_OPTION_END --- diff --git a/src/stream/test_stream_2peers.c b/src/stream/test_stream_2peers.c index d10e12c5e..1fdc0ee19 100644 --- a/src/stream/test_stream_2peers.c +++ b/src/stream/test_stream_2peers.c @@ -482,7 +482,8 @@ peergroup_ready (void *cls, const char *emsg) &d2->id, /* Null for local peer? */ 10, /* App port */ &stream_open_cb, - &peer1); + &peer1, + GNUNET_STREAM_OPTION_END); GNUNET_assert (NULL != peer1.socket); } diff --git a/src/stream/test_stream_2peers_halfclose.c b/src/stream/test_stream_2peers_halfclose.c index f001dddc6..7997c20e3 100644 --- a/src/stream/test_stream_2peers_halfclose.c +++ b/src/stream/test_stream_2peers_halfclose.c @@ -708,7 +708,8 @@ peergroup_ready (void *cls, const char *emsg) &d2->id, /* Null for local peer? */ 10, /* App port */ &stream_open_cb, - &peer1); + &peer1, + GNUNET_STREAM_OPTION_END); GNUNET_assert (NULL != peer1.socket); } diff --git a/src/stream/test_stream_local.c b/src/stream/test_stream_local.c index 63a67ac3f..c9fab8406 100644 --- a/src/stream/test_stream_local.c +++ b/src/stream/test_stream_local.c @@ -381,7 +381,8 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) &self, /* Null for local peer? */ 10, /* App port */ &stream_open_cb, - &peer1); + &peer1, + GNUNET_STREAM_OPTION_END); GNUNET_assert (NULL != peer1.socket); }