aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-06-16 17:48:18 +0000
committerBadlop <badlop@process-one.net>2009-06-16 17:48:18 +0000
commitd950fb96b6b22aea3949339e47803c21352d7aa1 (patch)
tree4fb6d96250a5422896a6c5a58b24e41fb21c6c9a
parentStarted code clean-up (EJAB-936)(thanks to Michael Remond) (diff)
Code clean-up (EJAB-936)(thanks to Michael Remond)
SVN Revision: 2256
-rw-r--r--src/web/ejabberd_http_bind.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index 4f3648a9b..13b6c8a21 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -4,7 +4,7 @@
%%% Purpose : Implements XMPP over BOSH (XEP-0205) (formerly known as
%%% HTTP Binding)
%%% Created : 21 Sep 2005 by Stefan Strigler <steve@zeank.in-berlin.de>
-%%% Id : $Id: ejabberd_http_bind.erl 958 2009-05-12 14:43:41Z mremond $
+%%% Id : $Id: ejabberd_http_bind.erl 959 2009-05-12 14:45:27Z mremond $
%%%----------------------------------------------------------------------
-module(ejabberd_http_bind).
@@ -1056,11 +1056,11 @@ get_max_inactivity({Host, _}, Default) ->
get_max_inactivity(_, Default) ->
Default.
-remove_tag_attr(Attr, {xmlelement, Name, Attrs, Els}) ->
- Attrs1 = lists:keydelete(Attr, 1, Attrs),
- {xmlelement, Name, Attrs1, Els};
-remove_tag_attr(Attr, El) ->
- El.
+%% remove_tag_attr(Attr, {xmlelement, Name, Attrs, Els}) ->
+%% Attrs1 = lists:keydelete(Attr, 1, Attrs),
+%% {xmlelement, Name, Attrs1, Els};
+%% remove_tag_attr(Attr, El) ->
+%% El.
check_default_xmlns({xmlelement, Name, Attrs, Els} = El) ->
case xml:get_tag_attr_s("xmlns", El) of