aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/transport/test_plugin_transport.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index ceb4333ac..10e07dae5 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -255,6 +255,7 @@ end_badly (void *cls)
255 ok = 1; 255 ok = 1;
256} 256}
257 257
258
258static void 259static void
259wait_end (void *cls) 260wait_end (void *cls)
260{ 261{
@@ -293,6 +294,7 @@ env_receive (void *cls,
293 return GNUNET_TIME_relative_get_zero_ (); 294 return GNUNET_TIME_relative_get_zero_ ();
294} 295}
295 296
297
296static int got_reply; 298static int got_reply;
297 299
298 300
@@ -377,8 +379,7 @@ test_addr_string (void *cls)
377 int c1; 379 int c1;
378 for (c1 = 0; c1 < s2a_len; c1++ ) 380 for (c1 = 0; c1 < s2a_len; c1++ )
379 fprintf (stderr, "%u == %u\n", ((char *) s2a)[c1], ((char *) w->addr)[c1]); 381 fprintf (stderr, "%u == %u\n", ((char *) s2a)[c1], ((char *) w->addr)[c1]);
380 */ 382 */if (s2a_len != w->address->address_length)
381 if (s2a_len != w->address->address_length)
382 { 383 {
383 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 384 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
384 "Plugin creates different address length when converting address->string->address: %u != %u\n", 385 "Plugin creates different address length when converting address->string->address: %u != %u\n",
@@ -788,4 +789,5 @@ main (int argc,
788 return ret; 789 return ret;
789} 790}
790 791
792
791/* end of test_plugin_transport.c */ 793/* end of test_plugin_transport.c */