Author: grothoff
Date: 2005-06-28 13:59:42 -0700 (Tue, 28 Jun 2005)
New Revision: 1124
Modified:
GNUnet/src/applications/session/connect.c
Log:
assert
Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c 2005-06-28 20:55:33 UTC (rev
1123)
+++ GNUnet/src/applications/session/connect.c 2005-06-28 20:59:42 UTC (rev
1124)
@@ -102,7 +102,10 @@
static void notifyPONG(PeerIdentity * hostId) {
#if DEBUG_SESSION
EncName enc;
+#endif
+ GNUNET_ASSERT(hostId != NULL);
+#if DEBUG_SESSION
IFLOG(LOG_DEBUG,
hash2enc(&hostId->hashPubKey,
&enc));
@@ -111,6 +114,7 @@
"PONG",
&enc);
#endif
+ GNUNET_ASSERT(hostId != NULL);
coreAPI->confirmSessionUp(hostId);
FREE(hostId);
}
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn