Fix return value of --dump-resample-methods

We should return 0 when --dump-resample-methods is called.

Problem identified by "hchen59".

Closes bug #407.
This commit is contained in:
Lennart Poettering 2008-12-16 18:17:21 +01:00
parent 8977b2e61d
commit e4aa5f2115

View file

@ -580,6 +580,7 @@ int main(int argc, char *argv[]) {
if (pa_resample_method_supported(i))
printf("%s\n", pa_resample_method_to_string(i));
retval = 0;
goto finish;
}