]> code.delx.au - pulseaudio/commitdiff
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 f6d2512c765795f0bc71f397440e33d8cb51408e..df8040b5cea6a40727821cf8a5f3d03f2f8cb7c1 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;
         }