Author: grothoff
Date: 2008-02-09 16:01:17 -0700 (Sat, 09 Feb 2008)
New Revision: 6208

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

Modified: GNUnet/src/applications/fs/gap/fs.c
===================================================================
--- GNUnet/src/applications/fs/gap/fs.c 2008-02-09 22:34:58 UTC (rev 6207)
+++ GNUnet/src/applications/fs/gap/fs.c 2008-02-09 23:01:17 UTC (rev 6208)
@@ -408,9 +408,9 @@
   msg->anonymityLevel = use->anonymityLevel;
   msg->expirationTime = use->expirationTime;
   memcpy (&msg[1], dblock, size);
+  type = ntohl (dblock->type);
   GNUNET_free_non_null (enc);
   coreAPI->cs_send_to_client (sock, &msg->header, GNUNET_YES);
-  type = ntohl (dblock->type);
   GNUNET_free (msg);
   if (type == GNUNET_ECRS_BLOCKTYPE_DATA)
     return GNUNET_SYSERR;       /* unique response */



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to