aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-24 11:20:00 +0100
committerKim Alvefur <zash@zash.se>2016-02-24 11:20:00 +0100
commit9a7bce4946a4a302905bdccd23ce59dc245803e8 (patch)
tree60121c160143098d7d661c2dcafd57af5c4ea5de
parent349f3e7a755249a16acf5417f9bea95c0df77513 (diff)
parentbdabf32dc62bc1d62fe9954c82be48a60ea7232a (diff)
downloadprosody-9a7bce4946a4a302905bdccd23ce59dc245803e8.tar.gz
prosody-9a7bce4946a4a302905bdccd23ce59dc245803e8.zip
Merge 0.10->trunk
-rwxr-xr-xprosodyctl1
-rw-r--r--util-src/crand.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index c54af270..3cbcde3b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -233,6 +233,7 @@ local function make_host(hostname)
type = "local",
events = prosody.events,
modules = {},
+ sessions = {},
users = require "core.usermanager".new_null_provider(hostname)
};
end
diff --git a/util-src/crand.c b/util-src/crand.c
index 9a45f10f..735135fb 100644
--- a/util-src/crand.c
+++ b/util-src/crand.c
@@ -23,7 +23,7 @@
* TODO: Decide on fixed size or dynamically allocated buffer
*/
#if 1
-#include <malloc.h>
+#include <stdlib.h>
#else
#define BUFLEN 256
#endif