diff options
Diffstat (limited to 'src/mimehooks.c')
-rw-r--r-- | src/mimehooks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mimehooks.c b/src/mimehooks.c index 3d999aba..f60ea593 100644 --- a/src/mimehooks.c +++ b/src/mimehooks.c | |||
@@ -45,8 +45,7 @@ iBlock *run_FilterHook_(const iFilterHook *d, const iString *mime, const iBlock | |||
45 | iRelease(args); | 45 | iRelease(args); |
46 | start_Process(proc); | 46 | start_Process(proc); |
47 | writeInput_Process(proc, body); | 47 | writeInput_Process(proc, body); |
48 | waitForFinished_Process(proc); | 48 | iBlock *output = readOutputUntilClosed_Process(proc); |
49 | iBlock *output = readOutput_Process(proc); | ||
50 | if (!startsWith_Rangecc(range_Block(output), "20")) { | 49 | if (!startsWith_Rangecc(range_Block(output), "20")) { |
51 | /* Didn't produce valid output. */ | 50 | /* Didn't produce valid output. */ |
52 | delete_Block(output); | 51 | delete_Block(output); |