gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r14661 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r14661 - gnunet/src/fs
Date: Tue, 15 Mar 2011 15:03:10 +0100

Author: grothoff
Date: 2011-03-15 15:03:10 +0100 (Tue, 15 Mar 2011)
New Revision: 14661

Modified:
   gnunet/src/fs/gnunet-service-fs_pe.c
Log:
fix

Modified: gnunet/src/fs/gnunet-service-fs_pe.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_pe.c        2011-03-15 14:02:06 UTC (rev 
14660)
+++ gnunet/src/fs/gnunet-service-fs_pe.c        2011-03-15 14:03:10 UTC (rev 
14661)
@@ -338,6 +338,8 @@
   GSF_connected_peer_get_identity_ (cp, &id);
   pp = GNUNET_CONTAINER_multihashmap_get (plans,
                                          &id.hashPubKey);
+  if (NULL == pp)
+    return; /* nothing was ever planned for this peer */
   GNUNET_CONTAINER_multihashmap_remove (plans,
                                        &id.hashPubKey,
                                        pp);




reply via email to

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