From: Christian Grothoff Date: Mon, 5 Apr 2010 13:35:24 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22277 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d88de8d8a75a65843d18f9d89066cc73aa6c25fc;p=oweals%2Fgnunet.git fix --- diff --git a/src/fs/gnunet-search.c b/src/fs/gnunet-search.c index e8d660375..6ad387d71 100644 --- a/src/fs/gnunet-search.c +++ b/src/fs/gnunet-search.c @@ -46,6 +46,23 @@ static unsigned int anonymity = 1; static int verbose; +/** + * Type of a function that libextractor calls for each + * meta data item found. + * + * @param cls closure (user-defined, unused) + * @param plugin_name name of the plugin that produced this value; + * special values can be used (i.e. '<zlib>' for zlib being + * used in the main libextractor library and yielding + * meta data). + * @param type libextractor-type describing the meta data + * @param format basic format information about data + * @param data_mime_type mime-type of data (not of the original file); + * can be NULL (if mime-type is not known) + * @param data actual meta-data found + * @param data_len number of bytes in data + * @return 0 to continue extracting, 1 to abort + */ static int item_printer (void *cls, const char *plugin_name, @@ -62,7 +79,7 @@ item_printer (void *cls, dgettext (LIBEXTRACTOR_GETTEXT_DOMAIN, EXTRACTOR_metatype_to_string (type)), data); - return GNUNET_OK; + return 0; }