diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-07 13:03:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-07 13:03:55 +0000 |
commit | 60039125c0e5648d259719ce46388851710e30c9 (patch) | |
tree | f1ad21f38d58de66be981ca65dcd2d3c9140c834 /src | |
parent | c937d384c6c0074c0f76fcb857a8a740665bda2c (diff) | |
download | gnunet-60039125c0e5648d259719ce46388851710e30c9.tar.gz gnunet-60039125c0e5648d259719ce46388851710e30c9.zip |
fix
Diffstat (limited to 'src')
-rw-r--r-- | src/testing/testing.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index 5d465e05f..a82842777 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -215,11 +215,11 @@ testing_init (void *cls, | |||
215 | GNUNET_i2s(my_identity)); | 215 | GNUNET_i2s(my_identity)); |
216 | #endif | 216 | #endif |
217 | d->id = *my_identity; | 217 | d->id = *my_identity; |
218 | d->server = server; | ||
218 | if (GNUNET_YES == d->dead) | 219 | if (GNUNET_YES == d->dead) |
219 | GNUNET_TESTING_daemon_stop (d, d->dead_cb, d->dead_cb_cls); | 220 | GNUNET_TESTING_daemon_stop (d, d->dead_cb, d->dead_cb_cls); |
220 | else if (NULL != cb) | 221 | else if (NULL != cb) |
221 | cb (d->cb_cls, my_identity, d->cfg, d, NULL); | 222 | cb (d->cb_cls, my_identity, d->cfg, d, NULL); |
222 | d->server = server; | ||
223 | } | 223 | } |
224 | 224 | ||
225 | 225 | ||
@@ -309,9 +309,8 @@ start_fsm (void *cls, | |||
309 | d->cfgfile, | 309 | d->cfgfile, |
310 | #if DEBUG_TESTING | 310 | #if DEBUG_TESTING |
311 | "-L", "DEBUG", | 311 | "-L", "DEBUG", |
312 | #else | ||
313 | "-d", | ||
314 | #endif | 312 | #endif |
313 | "-d", | ||
315 | NULL); | 314 | NULL); |
316 | } | 315 | } |
317 | else | 316 | else |