25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Disabled debug (thanks to Stefan Strigler)

SVN Revision: 2205
This commit is contained in:
Badlop 2009-06-16 17:44:04 +00:00
parent 88d32b1064
commit 673a7aad55

View File

@ -17,7 +17,8 @@
-define(MOD_HTTP_BIND_VERSION, "1.0"). -define(MOD_HTTP_BIND_VERSION, "1.0").
-vsn(?MOD_HTTP_BIND_VERSION). -vsn(?MOD_HTTP_BIND_VERSION).
-define(ejabberd_debug, true).
%%-define(ejabberd_debug, true).
-behaviour(gen_mod). -behaviour(gen_mod).
@ -43,7 +44,7 @@ process([], #request{method = 'POST',
[{xmlcdata, "400 Bad Request"}]}}; [{xmlcdata, "400 Bad Request"}]}};
process([], #request{method = 'POST', process([], #request{method = 'POST',
data = Data}) -> data = Data}) ->
?DEBUG("Data: '~p'", [Data]), ?DEBUG("Incoming data: ~s", [Data]),
ejabberd_http_bind:process_request(Data); ejabberd_http_bind:process_request(Data);
process([], #request{method = 'GET', process([], #request{method = 'GET',
data = []}) -> data = []}) ->