HOSTNAME = localhost
DEBUG = YES
PREFIX = valgrind --tool=memcheck --leak-check=yes
-#BINARY = /home/grothoff/bin/gnunet-service-fs
+BINARY = /home/grothoff/bin/gnunet-service-fs
#PREFIX = xterm -e gdb -x cmd --args
[testing]
/**
- * Information we keep for each pending reply. The
+ * Information we keep for each pending message (GET/PUT). The
* actual message follows at the end of this struct.
*/
struct PendingMessage
struct ClientResponseMessage *creply;
if (client == NULL)
- return; /* huh? is this allowed? */
+ return;
prev = NULL;
pos = client_list;
while ( (NULL != pos) &&
GNUNET_PEER_Id tpid)
{
struct PendingRequest *pr = cls;
-
+
switch (pr->type)
{
case GNUNET_DATASTORE_BLOCKTYPE_DBLOCK:
GNUNET_HashCode mhash;
GNUNET_HashCode query;
- pr->drq = NULL;
if (NULL == key)
{
#if DEBUG_FS
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Done processing local replies, forwarding request to other peers.\n");
#endif
+ pr->drq = NULL;
if (pr->client_request_list != NULL)
GNUNET_SERVER_receive_done (pr->client_request_list->client_list->client,
GNUNET_YES);