mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Merge branch '2.2.x' of gitorious.process-one.net:+ejabberd-developers/ejabberd/maincustomers into 2.2.x
This commit is contained in:
commit
1959546ff9
@ -347,7 +347,7 @@ stop_epmd()
|
||||
check_start()
|
||||
{
|
||||
epmd -names | grep -q $NODE && {
|
||||
ps ux | grep -q $ERLANG_NODE && {
|
||||
ps ux | grep -v grep | grep -q $ERLANG_NODE && {
|
||||
echo "ejabberd is already running."
|
||||
exit 4
|
||||
} || {
|
||||
|
@ -1076,7 +1076,7 @@ send_outpacket(#http_bind{pid = FsmRef}, OutPacket) ->
|
||||
end, OutPacket),
|
||||
case AllElements of
|
||||
true ->
|
||||
TypedEls = lists:foldr(fun({xmlstreamelement, El}, Acc) ->
|
||||
TypedEls = lists:foldl(fun({xmlstreamelement, El}, Acc) ->
|
||||
Acc ++
|
||||
[xml:element_to_string(
|
||||
check_default_xmlns(El)
|
||||
|
Loading…
Reference in New Issue
Block a user