From: Aurelien DARRAGON Date: Mon, 3 Jun 2024 14:35:53 +0000 (+0200) Subject: CLEANUP: hlua: fix CertCache class comment X-Git-Tag: v3.1-dev1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63f2cde948e4d8049c961e94029b1fd2752a71d;p=thirdparty%2Fhaproxy.git CLEANUP: hlua: fix CertCache class comment CLASS_CERTCACHE is used to declare CertCache global object, not Regex one This copy-paste typo introduced was in 30fcca18 ("MINOR: ssl/lua: CertCache.set() allows to update an SSL certificate file") --- diff --git a/src/hlua.c b/src/hlua.c index 33eccfc645..b28a948c76 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -13689,7 +13689,7 @@ lua_State *hlua_init_state(int thread_num) lua_newtable(L); /* Register */ hlua_class_function(L, "set", hlua_ckch_set); - lua_setglobal(L, CLASS_CERTCACHE); /* Create global object called Regex */ + lua_setglobal(L, CLASS_CERTCACHE); /* Create global object called CertCache */ /* *