]> granicus.if.org Git - ejabberd/commitdiff
fixes typo in stop_connection/1
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 28 Sep 2010 04:20:02 +0000 (14:20 +1000)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 28 Sep 2010 04:20:02 +0000 (14:20 +1000)
src/ejabberd_s2s_out.erl

index a1c641280b3b0d93b3d1f133adc1944510cb5fc0..7cfb68d7a74a84abe9df3f1dc8d4460293032b2b 100644 (file)
@@ -136,7 +136,7 @@ start_connection(Pid) ->
     p1_fsm:send_event(Pid, init).
 
 stop_connection(Pid) ->
-    p1_fsm:send_event(Pid, stop).
+    p1_fsm:send_event(Pid, closed).
 
 %%%----------------------------------------------------------------------
 %%% Callback functions from p1_fsm