diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-02 13:26:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-02 13:26:13 +0000 |
commit | 41356c04c3dcedb29de159a48393523fa07bd5d1 (patch) | |
tree | 685d78af9fde0609e782ac41af87a4faf67ed146 /src/fs/gnunet-search.c | |
parent | 5875bc4cb9a96cc81aa7e62448db5cd8be7d6489 (diff) | |
download | gnunet-41356c04c3dcedb29de159a48393523fa07bd5d1.tar.gz gnunet-41356c04c3dcedb29de159a48393523fa07bd5d1.zip |
-fix ftbfs if extractor.h present but libextractor.so missing
Diffstat (limited to 'src/fs/gnunet-search.c')
-rw-r--r-- | src/fs/gnunet-search.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c index 0ddcd892e..dfe6d0e75 100644 --- a/src/fs/gnunet-search.c +++ b/src/fs/gnunet-search.c | |||
@@ -72,13 +72,17 @@ static struct GNUNET_SCHEDULER_Task *tt; | |||
72 | * @param data_mime_type mime-type of data (not of the original file); | 72 | * @param data_mime_type mime-type of data (not of the original file); |
73 | * can be NULL (if mime-type is not known) | 73 | * can be NULL (if mime-type is not known) |
74 | * @param data actual meta-data found | 74 | * @param data actual meta-data found |
75 | * @param data_size number of bytes in data | 75 | * @param data_size number of bytes in @a data |
76 | * @return 0 to continue extracting, 1 to abort | 76 | * @return 0 to continue extracting, 1 to abort |
77 | */ | 77 | */ |
78 | static int | 78 | static int |
79 | item_printer (void *cls, const char *plugin_name, enum EXTRACTOR_MetaType type, | 79 | item_printer (void *cls, |
80 | enum EXTRACTOR_MetaFormat format, const char *data_mime_type, | 80 | const char *plugin_name, |
81 | const char *data, size_t data_size) | 81 | enum EXTRACTOR_MetaType type, |
82 | enum EXTRACTOR_MetaFormat format, | ||
83 | const char *data_mime_type, | ||
84 | const char *data, | ||
85 | size_t data_size) | ||
82 | { | 86 | { |
83 | if ((format != EXTRACTOR_METAFORMAT_UTF8) && | 87 | if ((format != EXTRACTOR_METAFORMAT_UTF8) && |
84 | (format != EXTRACTOR_METAFORMAT_C_STRING)) | 88 | (format != EXTRACTOR_METAFORMAT_C_STRING)) |