]> git.alsa-project.org Git - alsa-lib.git/commit
Don't accept an empty string for $ALSA_CONFIG_PATH
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 17:20:50 +0000 (18:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 17:20:50 +0000 (18:20 +0100)
commit0400fa6f8d979b708bb36a35c9fbe22e3949912d
tree64a17402e26b24d104677916dbebaa030d38b84f
parent48e4d089dc68ad29267fe6b9c7efc4a66611aeda
Don't accept an empty string for $ALSA_CONFIG_PATH

The variable $ALSA_CONFIG_PATH specifies the config path, but the current
code accepts the empty string and results in a mysterious error because
no config file is found.

This patch fixes the check of the variable and takes the default value
if the string is empty.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf.c