gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r2570 - GNUnet/src/applications/gap


From: durner
Subject: [GNUnet-SVN] r2570 - GNUnet/src/applications/gap
Date: Tue, 21 Mar 2006 08:59:09 -0800 (PST)

Author: durner
Date: 2006-03-21 08:59:05 -0800 (Tue, 21 Mar 2006)
New Revision: 2570

Modified:
   GNUnet/src/applications/gap/gap.c
Log:
who's sending us invalid GAP replies?

Modified: GNUnet/src/applications/gap/gap.c
===================================================================
--- GNUnet/src/applications/gap/gap.c   2006-03-19 20:31:17 UTC (rev 2569)
+++ GNUnet/src/applications/gap/gap.c   2006-03-21 16:59:05 UTC (rev 2570)
@@ -1543,6 +1543,14 @@
                value,
                0);
   if (ret == SYSERR) {
+    EncName enc;
+    
+    if (hostId != NULL)
+      hash2enc(&hostId->hashPubKey, &enc)
+    LOG(LOG_ERROR,
+      _("GAP received invalid content from `%s'\n"),
+      (hostId != NULL) ? (const char*)&enc : _("myself"));
+    
     BREAK();
     uri(value,
        ANY_BLOCK,





reply via email to

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