[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1124 - GNUnet/src/applications/session
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1124 - GNUnet/src/applications/session |
Date: |
Tue, 28 Jun 2005 13:59:44 -0700 (PDT) |
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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1124 - GNUnet/src/applications/session,
grothoff <=