From 90514260de214c17254fd462be2840c945eec02f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 5 Dec 2013 15:56:45 +0000 Subject: -fix #3157 --- src/conversation/test_conversation_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/conversation/test_conversation_api.c') diff --git a/src/conversation/test_conversation_api.c b/src/conversation/test_conversation_api.c index d8c10c2bf..eb7fa7626 100644 --- a/src/conversation/test_conversation_api.c +++ b/src/conversation/test_conversation_api.c @@ -150,7 +150,8 @@ play (void *cls, (const char *) data); } if ( (20 < call_i) && - (20 < phone_i) ) + (20 < phone_i) && + (NULL != call) ) { /* time to hang up ... */ GNUNET_CONVERSATION_call_stop (call); -- cgit v1.2.3