From: Vladimír Čunát Date: Thu, 29 Mar 2018 11:15:08 +0000 (+0200) Subject: daemon/bindings: keep the pattern for function names X-Git-Tag: v2.3.0~22^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac98a299caec760549c6e92bf833cd86f0df405;p=thirdparty%2Fknot-resolver.git daemon/bindings: keep the pattern for function names --- diff --git a/daemon/bindings.c b/daemon/bindings.c index 361b66cc7..b9045b358 100644 --- a/daemon/bindings.c +++ b/daemon/bindings.c @@ -1121,7 +1121,7 @@ static int cache_get(lua_State *L) * Servers with score >= KR_NS_TIMEOUTED will be cleaned after * this interval ended up, so that they will be able to participate * in NS elections again. */ -static int cache_touted_ns_clean_interval(lua_State *L) +static int cache_ns_tout(lua_State *L) { struct engine *engine = engine_luaget(L); struct kr_context *ctx = &engine->resolver; @@ -1164,7 +1164,7 @@ int lib_cache(lua_State *L) { "get", cache_get }, { "max_ttl", cache_max_ttl }, { "min_ttl", cache_min_ttl }, - { "ns_tout", cache_touted_ns_clean_interval }, + { "ns_tout", cache_ns_tout }, { NULL, NULL } };