aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_search.c')
-rw-r--r--src/fs/fs_search.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index a6418f786..f077bdac3 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -814,7 +814,7 @@ process_result (struct GNUNET_FS_SearchContext *sc,
814 } 814 }
815 switch (type) 815 switch (type)
816 { 816 {
817 case GNUNET_BLOCK_TYPE_KBLOCK: 817 case GNUNET_BLOCK_TYPE_FS_KBLOCK:
818 if (! GNUNET_FS_uri_test_ksk (sc->uri)) 818 if (! GNUNET_FS_uri_test_ksk (sc->uri))
819 { 819 {
820 GNUNET_break (0); 820 GNUNET_break (0);
@@ -827,7 +827,7 @@ process_result (struct GNUNET_FS_SearchContext *sc,
827 } 827 }
828 process_kblock (sc, data, size); 828 process_kblock (sc, data, size);
829 break; 829 break;
830 case GNUNET_BLOCK_TYPE_SBLOCK: 830 case GNUNET_BLOCK_TYPE_FS_SBLOCK:
831 if (! GNUNET_FS_uri_test_sks (sc->uri)) 831 if (! GNUNET_FS_uri_test_sks (sc->uri))
832 { 832 {
833 GNUNET_break (0); 833 GNUNET_break (0);
@@ -840,7 +840,7 @@ process_result (struct GNUNET_FS_SearchContext *sc,
840 } 840 }
841 process_sblock (sc, data, size); 841 process_sblock (sc, data, size);
842 break; 842 break;
843 case GNUNET_BLOCK_TYPE_NBLOCK: 843 case GNUNET_BLOCK_TYPE_FS_NBLOCK:
844 if (! GNUNET_FS_uri_test_ksk (sc->uri)) 844 if (! GNUNET_FS_uri_test_ksk (sc->uri))
845 { 845 {
846 GNUNET_break (0); 846 GNUNET_break (0);
@@ -854,9 +854,9 @@ process_result (struct GNUNET_FS_SearchContext *sc,
854 process_nblock (sc, data, size); 854 process_nblock (sc, data, size);
855 break; 855 break;
856 case GNUNET_BLOCK_TYPE_ANY: 856 case GNUNET_BLOCK_TYPE_ANY:
857 case GNUNET_BLOCK_TYPE_DBLOCK: 857 case GNUNET_BLOCK_TYPE_FS_DBLOCK:
858 case GNUNET_BLOCK_TYPE_ONDEMAND: 858 case GNUNET_BLOCK_TYPE_FS_ONDEMAND:
859 case GNUNET_BLOCK_TYPE_IBLOCK: 859 case GNUNET_BLOCK_TYPE_FS_IBLOCK:
860 GNUNET_break (0); 860 GNUNET_break (0);
861 break; 861 break;
862 default: 862 default:
@@ -981,7 +981,7 @@ transmit_search_request (void *cls,
981 sm->options = htonl (1); 981 sm->options = htonl (1);
982 else 982 else
983 sm->options = htonl (0); 983 sm->options = htonl (0);
984 sm->type = htonl (GNUNET_BLOCK_TYPE_SBLOCK); 984 sm->type = htonl (GNUNET_BLOCK_TYPE_FS_SBLOCK);
985 sm->anonymity_level = htonl (sc->anonymity); 985 sm->anonymity_level = htonl (sc->anonymity);
986 sm->target = sc->uri->data.sks.namespace; 986 sm->target = sc->uri->data.sks.namespace;
987 identifier = sc->uri->data.sks.identifier; 987 identifier = sc->uri->data.sks.identifier;