aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index 903e6efdc..a727d3e6a 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -87,22 +87,22 @@ static int ok;
87/** 87/**
88 * Context of peer 1 88 * Context of peer 1
89 */ 89 */
90static struct PeerContext *p1; 90struct PeerContext *p1;
91 91
92/** 92/**
93 * Configuration file of peer 1 93 * Configuration file of peer 1
94 */ 94 */
95static char *cfg_file_p1; 95char *cfg_file_p1;
96 96
97/** 97/**
98 * Context of peer 2 98 * Context of peer 2
99 */ 99 */
100static struct PeerContext *p2; 100struct PeerContext *p2;
101 101
102/** 102/**
103 * Configuration file of peer 1 103 * Configuration file of peer 1
104 */ 104 */
105static char *cfg_file_p2; 105char *cfg_file_p2;
106 106
107/** 107/**
108 * Timeout task 108 * Timeout task
@@ -112,12 +112,12 @@ static struct GNUNET_SCHEDULER_Task * die_task;
112/** 112/**
113 * Transport transmit handle used 113 * Transport transmit handle used
114 */ 114 */
115static struct GNUNET_TRANSPORT_TransmitHandle *th; 115struct GNUNET_TRANSPORT_TransmitHandle *th;
116 116
117/** 117/**
118 * Transport testing handle 118 * Transport testing handle
119 */ 119 */
120static struct GNUNET_TRANSPORT_TESTING_handle *tth; 120struct GNUNET_TRANSPORT_TESTING_handle *tth;
121 121
122/* 122/*
123 * Total amount of bytes sent 123 * Total amount of bytes sent
@@ -145,9 +145,7 @@ static int msg_sent;
145static int msg_recv; 145static int msg_recv;
146 146
147static int test_connected; 147static int test_connected;
148
149static int test_sending; 148static int test_sending;
150
151static int test_send_timeout; 149static int test_send_timeout;
152 150
153 151
@@ -169,11 +167,9 @@ static GNUNET_TRANSPORT_TESTING_ConnectRequest cc;
169#define OKPP do { ok++; } while (0) 167#define OKPP do { ok++; } while (0)
170#endif 168#endif
171 169
172
173static int 170static int
174get_bit (const char *map, unsigned int bit); 171get_bit (const char *map, unsigned int bit);
175 172
176
177static void 173static void
178end () 174end ()
179{ 175{