[Pkg-alsa-devel] Bug#211893: Patch for this bug

Clément Stenac Clément Stenac , 211893@bugs.debian.org
Sat, 4 Sep 2004 16:36:26 +0200


tag 211893 +patch
thanks

Hello,

Here is the trivial patch that fixes this crash.

--- aserver/aserver.c.orig      2004-09-04 16:16:53.000000000 +0200
+++ aserver/aserver.c   2004-09-04 16:34:56.000000000 +0200
@@ -1006,7 +1006,8 @@
 int main(int argc, char **argv)
 {
        static struct option long_options[] = {
-               {"help", 0, 0, 'h'}
+               {"help", 0, 0, 'h'},
+                { 0 , 0 , 0, 0 }
        };
        int c;
        snd_config_t *conf;

-- 
Zorglub
Clément Stenac