diff options
author | Max Kellermann <max@duempel.org> | 2009-01-25 16:04:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 16:04:03 +0100 |
commit | 3635c93acbc3da87880e886d924020c427d1774a (patch) | |
tree | 4143b680e78794866744b3ac1d0a721d738872c2 /src/permission.c | |
parent | 5f7791009790dc40f2d76be310ffeab55c242ced (diff) | |
download | mpd-3635c93acbc3da87880e886d924020c427d1774a.tar.gz mpd-3635c93acbc3da87880e886d924020c427d1774a.tar.xz mpd-3635c93acbc3da87880e886d924020c427d1774a.zip |
conf: allow param==NULL
Return the default value in the conf_get_block_*() functions when
param==NULL was passed.
This simplifies a lot of code, because all initialization can be done
in one code path, regardless whether configuration is present.
Diffstat (limited to 'src/permission.c')
0 files changed, 0 insertions, 0 deletions