From: Willy Tarreau Date: Fri, 28 Aug 2015 08:14:59 +0000 (+0200) Subject: CLEANUP: lua: fix some indent issues X-Git-Tag: v1.6-dev4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a678b43119eb51c60330375c18741518bdef6d14;p=thirdparty%2Fhaproxy.git CLEANUP: lua: fix some indent issues Just the result from a few copy-pastes with different tab sizes. --- diff --git a/src/hlua.c b/src/hlua.c index 2def3d47f7..ffcfb836a8 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -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; } /*