From b480592504219c8324c937f63e8aa1a565def8bb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 22 Feb 2016 22:56:05 +0100 Subject: util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias) --- util-src/crand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +#include #else #define BUFLEN 256 #endif -- cgit v1.2.3 From bdabf32dc62bc1d62fe9954c82be48a60ea7232a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 24 Feb 2016 11:15:27 +0100 Subject: prosodyctl: Create host.sessions table, (needed by 1295e14614f4) (thanks goffi) --- prosodyctl | 1 + 1 file changed, 1 insertion(+) diff --git a/prosodyctl b/prosodyctl index 1a487fb5..aa4999c9 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 -- cgit v1.2.3