[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29188 - gnunet/src/namestore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29188 - gnunet/src/namestore |
Date: |
Wed, 11 Sep 2013 11:08:34 +0200 |
Author: wachs
Date: 2013-09-11 11:08:34 +0200 (Wed, 11 Sep 2013)
New Revision: 29188
Modified:
gnunet/src/namestore/namestore_api_monitor.c
Log:
zone cannot be NULL
Modified: gnunet/src/namestore/namestore_api_monitor.c
===================================================================
--- gnunet/src/namestore/namestore_api_monitor.c 2013-09-11 08:37:48 UTC
(rev 29187)
+++ gnunet/src/namestore/namestore_api_monitor.c 2013-09-11 09:08:34 UTC
(rev 29188)
@@ -263,8 +263,12 @@
struct GNUNET_NAMESTORE_ZoneMonitor *zm;
struct GNUNET_CLIENT_Connection *client;
+ if (NULL == zone)
+ return NULL;
if (NULL == (client = GNUNET_CLIENT_connect ("namestore", cfg)))
- return NULL;
+ return NULL;
+
+
zm = GNUNET_new (struct GNUNET_NAMESTORE_ZoneMonitor);
zm->cfg = cfg;
zm->h = client;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29188 - gnunet/src/namestore,
gnunet <=