(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 30 Aug 2010 11:19:21 +0000 (11:19 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 30 Aug 2010 11:19:21 +0000 (11:19 +0000)
src/transport/test_transport_api_reliability.c

index 03bef3b4e54eceada9a74a3541435187e75a1e39..4208229f7ecd6bd5332e8e795b834e326f76770c 100644 (file)
@@ -293,8 +293,8 @@ notify_ready (void *cls, size_t size, void *buf)
     }
   while (size - ret >= s);
   if (n < TOTAL_MSGS)
-    GNUNET_TRANSPORT_notify_transmit_ready (p1.th,
-                                           &p2.id,
+    GNUNET_TRANSPORT_notify_transmit_ready (p2.th,
+                                           &p1.id,
                                            s, 0, TIMEOUT,
                                            &notify_ready,
                                            NULL);
@@ -339,8 +339,8 @@ notify_connect (void *cls,
 
   if (connected == 2)
     {
-      GNUNET_TRANSPORT_notify_transmit_ready (p1.th,
-                                              &p2.id,
+      GNUNET_TRANSPORT_notify_transmit_ready (p2.th,
+                                              &p1.id,
                                               get_size (0), 0, TIMEOUT,
                                               &notify_ready,
                                               NULL);