Software /
code /
prosody
Comparison
util-src/pposix.c @ 730:ac951c44751c
pposix: Remove debug line
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Jan 2009 05:22:28 +0000 |
parent | 729:f62ef65d5c01 |
child | 766:433a5226267f |
comparison
equal
deleted
inserted
replaced
729:f62ef65d5c01 | 730:ac951c44751c |
---|---|
207 { | 207 { |
208 int level_idx = luaL_checkoption(L, 1, "notice", &level_strings); | 208 int level_idx = luaL_checkoption(L, 1, "notice", &level_strings); |
209 int mask = 0; | 209 int mask = 0; |
210 do | 210 do |
211 { | 211 { |
212 printf("PPOSIX: Setting mask for %s\n", level_strings[level_idx]); | |
213 mask |= LOG_MASK(level_constants[level_idx]); | 212 mask |= LOG_MASK(level_constants[level_idx]); |
214 } while (++level_idx<=4); | 213 } while (++level_idx<=4); |
215 | 214 |
216 setlogmask(mask); | 215 setlogmask(mask); |
217 return 0; | 216 return 0; |