jack: Don't fail module-jackdbus-detect loading if the channels argument is not given.
authorTanu Kaskinen <tanuk@iki.fi>
Tue, 22 Jan 2013 06:42:27 +0000 (08:42 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 22 Jan 2013 06:42:27 +0000 (08:42 +0200)
commitf26bcae28e1064d7eab48ee0d29a8658ac19acf5
tree0b69be64f9eff3760917f530306b6ba0037e0f51
parenta1a0ad1af209e58c136ac1c884aa5d14672a7144
jack: Don't fail module-jackdbus-detect loading if the channels argument is not given.

The u->channels <= 0 check failed if the channels argument was not
given at all, making the whole module loading fail. I don't think the
check is necessary at all - negative values are not possible, and if
someone gives 0 as the argument, it's probably ok if we act as if
there was no channels argument at all.
src/modules/jack/module-jackdbus-detect.c