gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17558 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r17558 - gnunet/src/core
Date: Mon, 17 Oct 2011 21:51:52 +0200

Author: grothoff
Date: 2011-10-17 21:51:52 +0200 (Mon, 17 Oct 2011)
New Revision: 17558

Modified:
   gnunet/src/core/gnunet-service-core_clients.c
Log:
fix

Modified: gnunet/src/core/gnunet-service-core_clients.c
===================================================================
--- gnunet/src/core/gnunet-service-core_clients.c       2011-10-17 16:52:59 UTC 
(rev 17557)
+++ gnunet/src/core/gnunet-service-core_clients.c       2011-10-17 19:51:52 UTC 
(rev 17558)
@@ -632,7 +632,13 @@
   old_match = GSC_TYPEMAP_test_match (tmap_old, client->types, client->tcnt);
   new_match = GSC_TYPEMAP_test_match (tmap_new, client->types, client->tcnt);
   if (client->tcnt == 0)
-    new_match = GNUNET_YES; /* empty list matches ALL */
+  {
+    /* empty list matches ALL (if not NULL) */
+    if (tmap_new != NULL)
+      new_match = GNUNET_YES; 
+    if (tmap_old != NULL)
+      old_match = GNUNET_YES;
+  }
   if (old_match == new_match)
     return; /* no change */
   if (old_match == GNUNET_NO)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]