[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37791 - gnunet/src/conversation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37791 - gnunet/src/conversation |
Date: |
Fri, 26 Aug 2016 14:37:01 +0200 |
Author: grothoff
Date: 2016-08-26 14:37:01 +0200 (Fri, 26 Aug 2016)
New Revision: 37791
Modified:
gnunet/src/conversation/gnunet-service-conversation.c
Log:
-fix possible NPE
Modified: gnunet/src/conversation/gnunet-service-conversation.c
===================================================================
--- gnunet/src/conversation/gnunet-service-conversation.c 2016-08-26
11:55:54 UTC (rev 37790)
+++ gnunet/src/conversation/gnunet-service-conversation.c 2016-08-26
12:37:01 UTC (rev 37791)
@@ -1243,7 +1243,7 @@
void *channel_ctx)
{
struct Channel *ch = channel_ctx;
- struct Line *line = ch->line;
+ struct Line *line;
struct ClientPhoneHangupMessage hup;
if (NULL == ch)
@@ -1251,6 +1251,7 @@
GNUNET_break (0);
return;
}
+ line = ch->line;
GNUNET_assert (channel == ch->channel);
ch->channel = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37791 - gnunet/src/conversation,
gnunet <=