diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2008-01-03 21:53:46 +0000 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2008-01-03 21:53:46 +0000 |
commit | 4e771768e3a444eb77162b40d639e225b53253a0 (patch) | |
tree | 28b3237c75f6c5c2d56b72d58e4b97500d7aeb92 /src | |
parent | 39ba68bcf4eb47e0c1f3e3c35f50b02954344904 (diff) |
The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2093 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-ladspa-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c index ef4ad3fb..bcf62290 100644 --- a/src/modules/module-ladspa-sink.c +++ b/src/modules/module-ladspa-sink.c @@ -470,7 +470,7 @@ int pa__init(pa_module*m) { p++; } - if (p > n_control) { + if (p > n_control || k) { pa_log("Too many control values passed, %lu expected.", n_control); goto fail; } |