Software / code / prosody
Comparison
util-src/pposix.c @ 7835:a809dcfd0c5b
util-src/*.c: Squeeze repeated blank lines
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 23 Jan 2017 18:33:35 +0100 |
| parent | 7818:54669df178c2 |
| child | 7889:b8d694646597 |
comparison
equal
deleted
inserted
replaced
| 7834:a2081d28bd22 | 7835:a809dcfd0c5b |
|---|---|
| 593 lua_pushboolean(L, 0); | 593 lua_pushboolean(L, 0); |
| 594 lua_pushstring(L, "invalid-arguments"); | 594 lua_pushstring(L, "invalid-arguments"); |
| 595 return 2; | 595 return 2; |
| 596 } | 596 } |
| 597 | 597 |
| 598 | |
| 599 | |
| 600 resource = luaL_checkstring(L, 1); | 598 resource = luaL_checkstring(L, 1); |
| 601 rid = string2resource(resource); | 599 rid = string2resource(resource); |
| 602 | 600 |
| 603 if(rid != -1) { | 601 if(rid != -1) { |
| 604 if(getrlimit(rid, &lim)) { | 602 if(getrlimit(rid, &lim)) { |