From fcf1e8ec9f3ebdeabb012394930deb4be351a4f6 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 2 Mar 2011 11:54:54 +0000 Subject: Set hostkeycallback to null. --- src/testing/testing.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testing') diff --git a/src/testing/testing.c b/src/testing/testing.c index 7f5ef2a01..99e834096 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -440,6 +440,7 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (d->hostkey_callback != NULL) { d->hostkey_callback (d->hostkey_cls, &d->id, d, NULL); + d->hostkey_callback = NULL; d->phase = SP_HOSTKEY_CREATED; } else -- cgit v1.2.3