mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
CLEANUP: lua: fix some indent issues
Just the result from a few copy-pastes with different tab sizes.
This commit is contained in:
parent
e1587b3314
commit
a678b43119
@ -759,8 +759,8 @@ static inline void hlua_sendlog(struct proxy *px, int level, const char *msg)
|
||||
|
||||
send_log(px, level, "%s", trash.str);
|
||||
if (!(global.mode & MODE_QUIET) || (global.mode & (MODE_VERBOSE | MODE_STARTING))) {
|
||||
get_localtime(date.tv_sec, &tm);
|
||||
fprintf(stderr, "[%s] %03d/%02d%02d%02d (%d) : %s\n",
|
||||
get_localtime(date.tv_sec, &tm);
|
||||
fprintf(stderr, "[%s] %03d/%02d%02d%02d (%d) : %s\n",
|
||||
log_levels[level], tm.tm_yday, tm.tm_hour, tm.tm_min, tm.tm_sec,
|
||||
(int)getpid(), trash.str);
|
||||
fflush(stderr);
|
||||
@ -2917,7 +2917,7 @@ __LJMP static int hlua_run_sample_conv(lua_State *L)
|
||||
if (hsmp->stringsafe)
|
||||
lua_pushstring(L, "");
|
||||
else
|
||||
lua_pushnil(L);
|
||||
lua_pushnil(L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -2926,7 +2926,7 @@ __LJMP static int hlua_run_sample_conv(lua_State *L)
|
||||
hlua_smp2lua_str(L, &smp);
|
||||
else
|
||||
hlua_smp2lua(L, &smp);
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user