-fix #3157
authorChristian Grothoff <christian@grothoff.org>
Thu, 5 Dec 2013 15:56:45 +0000 (15:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 5 Dec 2013 15:56:45 +0000 (15:56 +0000)
src/conversation/test_conversation_api.c

index d8c10c2bfd879a1f35c5c680fd558ba1a1cef379..eb7fa7626667640f6eee132da455356d44aed73d 100644 (file)
@@ -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);