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);
if (hsmp->stringsafe)
lua_pushstring(L, "");
else
- lua_pushnil(L);
+ lua_pushnil(L);
return 1;
}
hlua_smp2lua_str(L, &smp);
else
hlua_smp2lua(L, &smp);
- return 1;
+ return 1;
}
/*