aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2008-07-08 10:31:47 +0000
committerChristophe Romain <christophe.romain@process-one.net>2008-07-08 10:31:47 +0000
commit92ce9af092fcf62cba028cf98c9331d2da536908 (patch)
tree38f550dff5225bcde70d99d6b58a3df2caab0471
parentimprove ip fetching patch (diff)
typo fix
SVN Revision: 1418
-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 1929b1464..ad6c46b77 100644
--- a/src/web/ejabberd_http_poll.erl
+++ b/src/web/ejabberd_http_poll.erl
@@ -304,7 +304,7 @@ handle_sync_event(http_get, _From, StateName, StateData) ->
{reply, Reply, StateName, StateData#state{output = ""}};
handle_sync_event(peername, _From, StateName, StateData) ->
- Reply = {ok, {peername, StateData#state.ip}},
+ Reply = {ok, StateData#state.ip},
{reply, Reply, StateName, StateData};
handle_sync_event(_Event, _From, StateName, StateData) ->