diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-02-15 13:58:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-02-15 13:58:52 +0000 |
commit | bdeb59bc30331d6fd9f05d56d44a30f281b46195 (patch) | |
tree | 4ed1830fec733e90ac15323b4e4851f704a35c64 /src/fs/fs_api.c | |
parent | 140fdac7581295bd7d9dd90ead81bf31f8473cbf (diff) |
-fixes to make stream tests pass with ecc in core
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r-- | src/fs/fs_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 2770e8650e..b7ae055276 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c @@ -2004,7 +2004,7 @@ GNUNET_FS_search_result_sync_ (struct GNUNET_FS_SearchResult *sr) goto cleanup; } if ( (NULL != sr->uri) && - (ksk == sr->sc->uri->type) && + (GNUNET_FS_URI_KSK == sr->sc->uri->type) && (GNUNET_OK != GNUNET_BIO_write (wh, sr->keyword_bitmap, (sr->sc->uri->data.ksk.keywordCount + 7) / 8)) ) { @@ -2340,7 +2340,7 @@ deserialize_search_result (void *cls, const char *filename) GNUNET_break (0); goto cleanup; } - if (ksk == sr->sc->uri->type) + if (GNUNET_FS_URI_KSK == sr->sc->uri->type) { 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", |