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
1 changed files with 3 additions and 2 deletions

View File

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