aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-15 11:33:46 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-15 11:33:46 +0000
commit50933946df11f262a622c418fd6b0dbbee1d6e2d (patch)
treefd89ae9edde0934ff425153d777d836f4c8bad8e /src/core
parent4a395b35ea467077a20e8999504c06c9711a3b27 (diff)
downloadgnunet-50933946df11f262a622c418fd6b0dbbee1d6e2d.tar.gz
gnunet-50933946df11f262a622c418fd6b0dbbee1d6e2d.zip
fix
Diffstat (limited to 'src/core')
-rw-r--r--src/core/test_core_api_preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_preferences.c b/src/core/test_core_api_preferences.c
index c725543b0..b74e969c1 100644
--- a/src/core/test_core_api_preferences.c
+++ b/src/core/test_core_api_preferences.c
@@ -430,9 +430,9 @@ process_hello (void *cls,
430 if ((p == &p2) && (p1.th != NULL)) 430 if ((p == &p2) && (p1.th != NULL))
431 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL); 431 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL);
432 432
433 if ((p == &p1) && (p2.hello != NULL)) 433 if ((p == &p1) && (p2.hello != NULL) && (p1.th != NULL))
434 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello, NULL, NULL); 434 GNUNET_TRANSPORT_offer_hello (p1.th, p2.hello, NULL, NULL);
435 if ((p == &p2) && (p1.hello != NULL)) 435 if ((p == &p2) && (p1.hello != NULL) && (p2.th != NULL))
436 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello, NULL, NULL); 436 GNUNET_TRANSPORT_offer_hello (p2.th, p1.hello, NULL, NULL);
437} 437}
438 438