diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:08:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:08:22 +0000 |
commit | 260d4269dd93fd8e4e5af766e15970251c5b7ac9 (patch) | |
tree | 6b2b7ac3e1ba4224791518a38276efdd9729bb65 /src/transport/test_transport_api_reliability.c | |
parent | ee266d0bd0b96c67ac1c7f76fff41980bb181e64 (diff) | |
download | gnunet-260d4269dd93fd8e4e5af766e15970251c5b7ac9.tar.gz gnunet-260d4269dd93fd8e4e5af766e15970251c5b7ac9.zip |
-undo bad commit
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 16 |
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 | */ |
90 | static struct PeerContext *p1; | 90 | struct PeerContext *p1; |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Configuration file of peer 1 | 93 | * Configuration file of peer 1 |
94 | */ | 94 | */ |
95 | static char *cfg_file_p1; | 95 | char *cfg_file_p1; |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * Context of peer 2 | 98 | * Context of peer 2 |
99 | */ | 99 | */ |
100 | static struct PeerContext *p2; | 100 | struct PeerContext *p2; |
101 | 101 | ||
102 | /** | 102 | /** |
103 | * Configuration file of peer 1 | 103 | * Configuration file of peer 1 |
104 | */ | 104 | */ |
105 | static char *cfg_file_p2; | 105 | char *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 | */ |
115 | static struct GNUNET_TRANSPORT_TransmitHandle *th; | 115 | struct GNUNET_TRANSPORT_TransmitHandle *th; |
116 | 116 | ||
117 | /** | 117 | /** |
118 | * Transport testing handle | 118 | * Transport testing handle |
119 | */ | 119 | */ |
120 | static struct GNUNET_TRANSPORT_TESTING_handle *tth; | 120 | struct 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; | |||
145 | static int msg_recv; | 145 | static int msg_recv; |
146 | 146 | ||
147 | static int test_connected; | 147 | static int test_connected; |
148 | |||
149 | static int test_sending; | 148 | static int test_sending; |
150 | |||
151 | static int test_send_timeout; | 149 | static 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 | |||
173 | static int | 170 | static int |
174 | get_bit (const char *map, unsigned int bit); | 171 | get_bit (const char *map, unsigned int bit); |
175 | 172 | ||
176 | |||
177 | static void | 173 | static void |
178 | end () | 174 | end () |
179 | { | 175 | { |