Fix return value of --dump-resample-methods
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Dec 2008 17:17:21 +0000 (18:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Dec 2008 17:17:21 +0000 (18:17 +0100)
We should return 0 when --dump-resample-methods is called.

Problem identified by "hchen59".

Closes bug #407.

src/daemon/main.c

index f6d2512..df8040b 100644 (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;
         }