From 5fa0059f75261c78e15ecd9990cd72f1ece4a5e4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 13 Oct 2023 17:02:23 +0000 Subject: With fewer bugs Signed-off-by: Laurent Bercot --- src/libtipidee/tipidee_conf_get.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libtipidee') 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 #include -#include #include +#include 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) ; -- cgit v1.2.3