diff options
m--------- | lib/the_Foundation | 0 | ||||
-rw-r--r-- | src/mimehooks.c | 3 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/the_Foundation b/lib/the_Foundation | |||
Subproject 9fa87875c27164b4844c994202180756d1e928f | Subproject 17fd22771266a562eecd861519d1587885b26c2 | ||
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); |