aboutsummaryrefslogtreecommitdiff
path: root/src/main/extractor_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/extractor_print.c')
-rw-r--r--src/main/extractor_print.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main/extractor_print.c b/src/main/extractor_print.c
index 6ea8f19..21b444a 100644
--- a/src/main/extractor_print.c
+++ b/src/main/extractor_print.c
@@ -20,7 +20,7 @@
20 20
21#include "platform.h" 21#include "platform.h"
22#include "extractor.h" 22#include "extractor.h"
23 23#include "extractor_logging.h"
24#include "iconv.c" 24#include "iconv.c"
25 25
26/** 26/**
@@ -58,10 +58,14 @@ EXTRACTOR_meta_data_print (void *handle,
58 cd = iconv_open (nl_langinfo(CODESET), 58 cd = iconv_open (nl_langinfo(CODESET),
59 "UTF-8"); 59 "UTF-8");
60 if (((iconv_t) -1) == cd) 60 if (((iconv_t) -1) == cd)
61 return 1; 61 {
62 buf = iconv_helper(cd, data); 62 LOG_STRERROR ("iconv_open");
63 return 1;
64 }
65 buf = iconv_helper (cd, data);
63 if (NULL == buf) 66 if (NULL == buf)
64 { 67 {
68 LOG_STRERROR ("iconv_helper");
65 ret = -1; 69 ret = -1;
66 } 70 }
67 else 71 else