gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21560 - gnunet/src/stream


From: gnunet
Subject: [GNUnet-SVN] r21560 - gnunet/src/stream
Date: Tue, 22 May 2012 17:03:38 +0200

Author: harsha
Date: 2012-05-22 17:03:38 +0200 (Tue, 22 May 2012)
New Revision: 21560

Modified:
   gnunet/src/stream/test_stream_2peers.c
   gnunet/src/stream/test_stream_2peers_halfclose.c
   gnunet/src/stream/test_stream_local.c
Log:
fixed segmentation fault due to missing GNUNET_STREAM_OPTION_END

Modified: gnunet/src/stream/test_stream_2peers.c
===================================================================
--- gnunet/src/stream/test_stream_2peers.c      2012-05-22 11:27:03 UTC (rev 
21559)
+++ gnunet/src/stream/test_stream_2peers.c      2012-05-22 15:03:38 UTC (rev 
21560)
@@ -482,7 +482,8 @@
                                      &d2->id,         /* Null for local peer? 
*/
                                      10,           /* App port */
                                      &stream_open_cb,
-                                     &peer1);
+                                     &peer1,
+                                    GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer1.socket);
 }
 

Modified: gnunet/src/stream/test_stream_2peers_halfclose.c
===================================================================
--- gnunet/src/stream/test_stream_2peers_halfclose.c    2012-05-22 11:27:03 UTC 
(rev 21559)
+++ gnunet/src/stream/test_stream_2peers_halfclose.c    2012-05-22 15:03:38 UTC 
(rev 21560)
@@ -708,7 +708,8 @@
                                      &d2->id,         /* Null for local peer? 
*/
                                      10,           /* App port */
                                      &stream_open_cb,
-                                     &peer1);
+                                     &peer1,
+                                    GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer1.socket);
 }
 

Modified: gnunet/src/stream/test_stream_local.c
===================================================================
--- gnunet/src/stream/test_stream_local.c       2012-05-22 11:27:03 UTC (rev 
21559)
+++ gnunet/src/stream/test_stream_local.c       2012-05-22 15:03:38 UTC (rev 
21560)
@@ -381,7 +381,8 @@
                                      &self,         /* Null for local peer? */
                                      10,           /* App port */
                                      &stream_open_cb,
-                                     &peer1);
+                                     &peer1,
+                                    GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer1.socket);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]