]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
filter_common: Fix error checking.
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Jan 2009 22:16:01 +0000 (23:16 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 11 Jan 2009 22:16:01 +0000 (23:16 +0100)
task->error being a positive value should not be regarded as
an error condition.

filter_common.c

index df4f3bfaad71084d59c60dde9bd020bc3991bc8d..d83629bd4bf9d2b3f609ba71d36b5c7afcfc04a8 100644 (file)
@@ -155,7 +155,7 @@ again:
 //             fc->eof, *fc->out_loaded, conv, conv_total);
        if (conv)
                goto again;
 //             fc->eof, *fc->out_loaded, conv, conv_total);
        if (conv)
                goto again;
-       if (!*fc->input_error)
+       if (*fc->input_error >= 0)
                return;
        if (*fc->out_loaded)
                return;
                return;
        if (*fc->out_loaded)
                return;