Software /
code /
prosody
Comparison
util-src/pposix.c @ 1565:f1eeb049a0a5
pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 Jul 2009 13:21:52 +0100 |
parent | 1195:6b91a2b39680 |
child | 1578:5bd8b3bdbfbc |
comparison
equal
deleted
inserted
replaced
1564:2437dcd46937 | 1565:f1eeb049a0a5 |
---|---|
171 int level_constants[] = { | 171 int level_constants[] = { |
172 LOG_DEBUG, | 172 LOG_DEBUG, |
173 LOG_INFO, | 173 LOG_INFO, |
174 LOG_NOTICE, | 174 LOG_NOTICE, |
175 LOG_WARNING, | 175 LOG_WARNING, |
176 LOG_EMERG, | 176 LOG_CRIT, |
177 -1 | 177 -1 |
178 }; | 178 }; |
179 int lc_syslog_log(lua_State* L) | 179 int lc_syslog_log(lua_State* L) |
180 { | 180 { |
181 int level = luaL_checkoption(L, 1, "notice", level_strings); | 181 int level = luaL_checkoption(L, 1, "notice", level_strings); |