From: Christophe Romain Date: Tue, 8 Jul 2008 10:31:47 +0000 (+0000) Subject: typo fix X-Git-Tag: v2.1.0~18^2~669 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92ce9af092fcf62cba028cf98c9331d2da536908;p=ejabberd typo fix SVN Revision: 1418 --- 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) ->