[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10199 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10199 - gnunet/src/fs |
Date: |
Tue, 2 Feb 2010 14:15:00 +0100 |
Author: grothoff
Date: 2010-02-02 14:15:00 +0100 (Tue, 02 Feb 2010)
New Revision: 10199
Modified:
gnunet/src/fs/fs_publish.c
gnunet/src/fs/fs_unindex.c
gnunet/src/fs/gnunet-service-fs_indexing.c
Log:
fixes
Modified: gnunet/src/fs/fs_publish.c
===================================================================
--- gnunet/src/fs/fs_publish.c 2010-02-02 13:14:54 UTC (rev 10198)
+++ gnunet/src/fs/fs_publish.c 2010-02-02 13:15:00 UTC (rev 10199)
@@ -792,12 +792,13 @@
p->data.file.filename,
slen);
sc->client = client;
- GNUNET_CLIENT_transmit_and_get_response (client,
- &ism->header,
- GNUNET_TIME_UNIT_FOREVER_REL,
- GNUNET_YES,
- &process_index_start_response,
- sc);
+ GNUNET_break (GNUNET_YES ==
+ GNUNET_CLIENT_transmit_and_get_response (client,
+ &ism->header,
+
GNUNET_TIME_UNIT_FOREVER_REL,
+ GNUNET_YES,
+
&process_index_start_response,
+ sc));
GNUNET_free (ism);
}
Modified: gnunet/src/fs/fs_unindex.c
===================================================================
--- gnunet/src/fs/fs_unindex.c 2010-02-02 13:14:54 UTC (rev 10198)
+++ gnunet/src/fs/fs_unindex.c 2010-02-02 13:15:00 UTC (rev 10199)
@@ -373,12 +373,13 @@
req.header.type = htons (GNUNET_MESSAGE_TYPE_FS_UNINDEX);
req.reserved = 0;
req.file_id = *file_id;
- GNUNET_CLIENT_transmit_and_get_response (uc->client,
- &req.header,
- GNUNET_CONSTANTS_SERVICE_TIMEOUT,
- GNUNET_YES,
- &process_fs_response,
- uc);
+ GNUNET_break (GNUNET_OK ==
+ GNUNET_CLIENT_transmit_and_get_response (uc->client,
+ &req.header,
+
GNUNET_CONSTANTS_SERVICE_TIMEOUT,
+ GNUNET_YES,
+ &process_fs_response,
+ uc));
}
Modified: gnunet/src/fs/gnunet-service-fs_indexing.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_indexing.c 2010-02-02 13:14:54 UTC (rev
10198)
+++ gnunet/src/fs/gnunet-service-fs_indexing.c 2010-02-02 13:15:00 UTC (rev
10199)
@@ -354,6 +354,8 @@
memcpy (&ii[1], fn, slen);
ii->file_id = ism->file_id;
ii->tc = GNUNET_SERVER_transmit_context_create (client);
+ mydev = 0;
+ myino = 0;
if ( ( (dev != 0) ||
(ino != 0) ) &&
(GNUNET_OK == GNUNET_DISK_file_get_identifiers (fn,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10199 - gnunet/src/fs,
gnunet <=