gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6397 - GNUnet/src/applications/fs/gap


From: gnunet
Subject: [GNUnet-SVN] r6397 - GNUnet/src/applications/fs/gap
Date: Wed, 20 Feb 2008 22:31:44 -0700 (MST)

Author: grothoff
Date: 2008-02-20 22:31:44 -0700 (Wed, 20 Feb 2008)
New Revision: 6397

Modified:
   GNUnet/src/applications/fs/gap/fs.c
Log:
opt

Modified: GNUnet/src/applications/fs/gap/fs.c
===================================================================
--- GNUnet/src/applications/fs/gap/fs.c 2008-02-21 05:22:11 UTC (rev 6396)
+++ GNUnet/src/applications/fs/gap/fs.c 2008-02-21 05:31:44 UTC (rev 6397)
@@ -435,7 +435,8 @@
   memcpy (&msg[1], dblock, size);
   type = ntohl (dblock->type);
   GNUNET_free_non_null (enc);
-  coreAPI->cs_send_to_client (sock, &msg->header, GNUNET_YES);
+  coreAPI->cs_send_to_client (sock, &msg->header,
+                             type != GNUNET_ECRS_BLOCKTYPE_DATA ? GNUNET_NO : 
GNUNET_YES);
   GNUNET_free (msg);
   if (type == GNUNET_ECRS_BLOCKTYPE_DATA)
     return GNUNET_SYSERR;       /* unique response */





reply via email to

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