diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
commit | cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch) | |
tree | b704e00a3af618b2cd174a7f89514eaebd82a1cf /src/transport/test_transport_startonly.c | |
parent | bb4fc4f4007988874f910d4de5492f9629301641 (diff) | |
download | gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip |
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/transport/test_transport_startonly.c')
-rw-r--r-- | src/transport/test_transport_startonly.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/transport/test_transport_startonly.c b/src/transport/test_transport_startonly.c index 35c9e546b..075c10527 100644 --- a/src/transport/test_transport_startonly.c +++ b/src/transport/test_transport_startonly.c | |||
@@ -119,11 +119,10 @@ static void | |||
119 | run (void *cls, char *const *args, const char *cfgfile, | 119 | run (void *cls, char *const *args, const char *cfgfile, |
120 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 120 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
121 | { | 121 | { |
122 | timeout_task = | 122 | timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL); |
123 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_badly, NULL); | ||
124 | 123 | ||
125 | i = 1; | 124 | i = 1; |
126 | fprintf(stderr,"%i",i); | 125 | fprintf (stderr, "%i", i); |
127 | while (i <= ITERATIONS) | 126 | while (i <= ITERATIONS) |
128 | { | 127 | { |
129 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting peer\n"); | 128 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting peer\n"); |
@@ -142,14 +141,14 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
142 | 141 | ||
143 | //sleep (5); | 142 | //sleep (5); |
144 | 143 | ||
145 | GNUNET_TRANSPORT_TESTING_stop_peer(p1); | 144 | GNUNET_TRANSPORT_TESTING_stop_peer (p1); |
146 | 145 | ||
147 | i++; | 146 | i++; |
148 | if (i <= ITERATIONS) | 147 | if (i <= ITERATIONS) |
149 | fprintf(stderr,"..%i",i); | 148 | fprintf (stderr, "..%i", i); |
150 | } | 149 | } |
151 | fprintf(stderr,"\n"); | 150 | fprintf (stderr, "\n"); |
152 | end(); | 151 | end (); |
153 | } | 152 | } |
154 | 153 | ||
155 | int | 154 | int |