diff options
Diffstat (limited to 'src/libtipidee/tipidee_conf_get.c')
-rw-r--r-- | src/libtipidee/tipidee_conf_get.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libtipidee/tipidee_conf_get.c b/src/libtipidee/tipidee_conf_get.c index 2c96d2b..b056fd6 100644 --- a/src/libtipidee/tipidee_conf_get.c +++ b/src/libtipidee/tipidee_conf_get.c @@ -4,12 +4,14 @@ #include <string.h> #include <skalibs/cdb.h> +#include <skalibs/lolstdio.h> #include <tipidee/conf.h> int tipidee_conf_get (tipidee_conf const *conf, char const *key, cdb_data *data) { size_t keylen = strlen(key) ; + LOLDEBUG("tipidee_conf_get: looking up %s", key) ; if (keylen > TIPIDEE_CONF_KEY_MAXLEN) return (errno = EINVAL, 0) ; switch (cdb_find(&conf->c, data, key, keylen)) { |