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
commit85fba1e8697d6fb0508303d866181b8b277f05d6 (patch)
tree60121c160143098d7d661c2dcafd57af5c4ea5de
parent9dd235d53bbb77efa67543e0057d093789ca2ddd (diff)
parentfe1e9e84e64e143037615685661047c6270763ed (diff)
downloadprosody-85fba1e8697d6fb0508303d866181b8b277f05d6.tar.gz
prosody-85fba1e8697d6fb0508303d866181b8b277f05d6.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