diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-13 17:02:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-10-13 17:02:23 +0000 |
commit | 5fa0059f75261c78e15ecd9990cd72f1ece4a5e4 (patch) | |
tree | 1d40443108801bef10b829b30aa843fcf626a461 /src/libtipidee/tipidee_conf_get.c | |
parent | ff9c276c144bc24c70f1d5b531a8fd412c34c3d9 (diff) | |
download | tipidee-5fa0059f75261c78e15ecd9990cd72f1ece4a5e4.tar.xz |
With fewer bugs
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libtipidee/tipidee_conf_get.c')
-rw-r--r-- | src/libtipidee/tipidee_conf_get.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libtipidee/tipidee_conf_get.c b/src/libtipidee/tipidee_conf_get.c index 866ec99..ff948ee 100644 --- a/src/libtipidee/tipidee_conf_get.c +++ b/src/libtipidee/tipidee_conf_get.c @@ -4,15 +4,14 @@ #include <string.h> #include <skalibs/cdb.h> -#include <skalibs/lolstdio.h> #include <tipidee/conf.h> +#include <tipidee/log.h> int tipidee_conf_get (tipidee_conf const *conf, char const *key, cdb_data *data) { size_t keylen = strlen(key) ; if (keylen > TIPIDEE_CONF_KEY_MAXLEN) return (errno = EINVAL, 0) ; - LOLDEBUG("tipidee_conf_get: looking up %s", key) ; switch (cdb_find(&conf->c, data, key, keylen)) { case -1 : return (errno = EILSEQ, 0) ; |