[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19850 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19850 - gnunet/src/fs |
Date: |
Sat, 18 Feb 2012 22:32:29 +0100 |
Author: grothoff
Date: 2012-02-18 22:32:29 +0100 (Sat, 18 Feb 2012)
New Revision: 19850
Modified:
gnunet/src/fs/fs_api.c
Log:
-use search URI, not result URI
Modified: gnunet/src/fs/fs_api.c
===================================================================
--- gnunet/src/fs/fs_api.c 2012-02-18 21:18:23 UTC (rev 19849)
+++ gnunet/src/fs/fs_api.c 2012-02-18 21:32:29 UTC (rev 19850)
@@ -1811,9 +1811,9 @@
goto cleanup;
}
if ( (sr->uri != NULL) &&
- (sr->uri->type == ksk) &&
+ (sr->sc->uri->type == ksk) &&
(GNUNET_OK != GNUNET_BIO_write (wh, sr->keyword_bitmap,
- (sr->uri->data.ksk.keywordCount + 7) /
8)) )
+ (sr->sc->uri->data.ksk.keywordCount + 7)
/ 8)) )
{
GNUNET_break (0);
goto cleanup;
@@ -2115,13 +2115,12 @@
GNUNET_break (0);
goto cleanup;
}
- if ( (NULL != sr->uri) &&
- (sr->uri->type == ksk) )
+ if (sr->sc->uri->type == ksk)
{
- sr->keyword_bitmap = GNUNET_malloc ((sr->uri->data.ksk.keywordCount + 7) /
8); /* round up, count bits */
+ sr->keyword_bitmap = GNUNET_malloc ((sr->sc->uri->data.ksk.keywordCount +
7) / 8); /* round up, count bits */
if (GNUNET_OK != GNUNET_BIO_read (rh, "keyword-bitmap",
sr->keyword_bitmap,
- (sr->uri->data.ksk.keywordCount + 7) / 8))
+ (sr->sc->uri->data.ksk.keywordCount + 7)
/ 8))
{
GNUNET_break (0);
goto cleanup;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19850 - gnunet/src/fs,
gnunet <=