projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_proxy65: Add service discovery identity and feature, to help out mod_disco when...
[prosody.git]
/
util-src
/
pposix.c
diff --git
a/util-src/pposix.c
b/util-src/pposix.c
index c5ebc4b4c2e381291a256e6b0a2085b5bcd3b3a1..4ff84bde2440f4aed4aac6b5f12dfbaddf712864 100644
(file)
--- a/
util-src/pposix.c
+++ b/
util-src/pposix.c
@@
-559,6
+559,7
@@
int lc_uname(lua_State* L)
struct utsname uname_info;
if(uname(&uname_info) != 0)
{
+ lua_pushnil(L);
lua_pushstring(L, strerror(errno));
return 2;
}