aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2008-03-09 21:28:42 +0000
committerAlexey Shchepin <alexey@process-one.net>2008-03-09 21:28:42 +0000
commit5cb8f4826cac9b0c71062d1d50034e52ac4282bd (patch)
treef0c96707b13ac9a1563c97b9b792ec48d55c85a8 /src
parent* src/mod_proxy65/mod_proxy65_service.erl: Implement alternative (diff)
* src/web/ejabberd_http_poll.erl: Fixed HTTP headers when a
requested session doesn't exist SVN Revision: 1223
Diffstat (limited to 'src')
-rw-r--r--src/web/ejabberd_http_poll.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/ejabberd_http_poll.erl b/src/web/ejabberd_http_poll.erl
index 281a2aea6..4573b12da 100644
--- a/src/web/ejabberd_http_poll.erl
+++ b/src/web/ejabberd_http_poll.erl
@@ -134,7 +134,7 @@ process([], #request{data = Data} = _Request) ->
end,
case http_get(ID) of
{error, not_exists} ->
- {200, [?BAD_REQUEST], ""};
+ {200, ?BAD_REQUEST, ""};
{ok, OutPacket} ->
if
ID == ID1 ->