CLEANUP: lua: move comment
Old comment is misplaced. Certainly due to a bad copy/paste
Must be backported in 1.6
diff --git a/src/hlua.c b/src/hlua.c
index db023f5..5a1785d 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -6348,7 +6348,6 @@
/* Third argument : lua function. */
ref = MAY_LJMP(hlua_checkfunction(L, 3));
- /* Check required environment. Only accepted "http" or "tcp". */
/* Allocate and fill the sample fetch keyword struct. */
akl = calloc(1, sizeof(*akl) + sizeof(struct action_kw) * 2);
if (!akl)
@@ -6376,6 +6375,7 @@
snprintf((char *)akl->kw[0].kw, len, "lua.%s", name);
+ /* Check required environment. Only accepted "http" or "tcp". */
if (strcmp(env, "tcp") == 0)
akl->kw[0].parse = action_register_service_tcp;
else if (strcmp(env, "http") == 0)