aboutsummaryrefslogtreecommitdiff
path: root/src/main/extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/extractor.c')
-rw-r--r--src/main/extractor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c
index 66bfaba..51f9aa4 100644
--- a/src/main/extractor.c
+++ b/src/main/extractor.c
@@ -1220,6 +1220,12 @@ process_requests (struct EXTRACTOR_PluginList *plugin,
1220 1220
1221 memset (&hdr, 0, sizeof (hdr)); 1221 memset (&hdr, 0, sizeof (hdr));
1222 fin = fdopen (in, "r"); 1222 fin = fdopen (in, "r");
1223 if (fin == NULL)
1224 {
1225 close (in);
1226 close (out);
1227 return;
1228 }
1223 while (NULL != fgets (hfn, sizeof(hfn), fin)) 1229 while (NULL != fgets (hfn, sizeof(hfn), fin))
1224 { 1230 {
1225 if (strlen (hfn) <= 1) 1231 if (strlen (hfn) <= 1)