gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r14802 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r14802 - gnunet/src/datastore
Date: Thu, 31 Mar 2011 17:20:40 +0200

Author: grothoff
Date: 2011-03-31 17:20:40 +0200 (Thu, 31 Mar 2011)
New Revision: 14802

Modified:
   gnunet/src/datastore/gnunet-service-datastore.c
Log:
communicate content already present better

Modified: gnunet/src/datastore/gnunet-service-datastore.c
===================================================================
--- gnunet/src/datastore/gnunet-service-datastore.c     2011-03-31 14:30:30 UTC 
(rev 14801)
+++ gnunet/src/datastore/gnunet-service-datastore.c     2011-03-31 15:20:40 UTC 
(rev 14802)
@@ -972,7 +972,7 @@
 #endif
     }
   transmit_status (client, 
-                  (GNUNET_SYSERR == ret) ? GNUNET_SYSERR : GNUNET_OK, 
+                  ret,
                   msg);
   GNUNET_free_non_null (msg);
   if (quota - reserved - cache_size < payload)
@@ -1026,7 +1026,7 @@
   if (key == NULL)
     {
       if (pc->is_present == GNUNET_YES)        
-       transmit_status (pc->client, GNUNET_OK, NULL);
+       transmit_status (pc->client, GNUNET_NO, NULL);
       else
        execute_put (pc->client, dm);
       GNUNET_SERVER_client_drop (pc->client);




reply via email to

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