diff options
author | Badlop <badlop@process-one.net> | 2009-06-16 17:44:04 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-16 17:44:04 +0000 |
commit | 673a7aad55ad4200bf70fc6750959138328ddd2e (patch) | |
tree | dd340034d3bea07eaa234d2ef2dfb74d393f5afd | |
parent | Deal with return values from starting/terminating supervisor (thanks to Stefa... (diff) |
Disabled debug (thanks to Stefan Strigler)
SVN Revision: 2205
-rw-r--r-- | src/web/mod_http_bind.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/mod_http_bind.erl b/src/web/mod_http_bind.erl index 4f590c659..1cebd0f5e 100644 --- a/src/web/mod_http_bind.erl +++ b/src/web/mod_http_bind.erl @@ -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 = []}) -> |