25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Disabled debug (thanks to Stefan Strigler)

SVN Revision: 2268
This commit is contained in:
Badlop 2009-06-16 18:24:09 +00:00
parent eca818be5a
commit bb229a3a0c

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 = []}) ->