2007-03-18 Alexey Shchepin <alexey@sevcom.net>
+ * src/ejabberd_s2s.erl: Fixed spelling
+
* src/ejabberd_s2s.erl: Don't start s2s process for existing
connection in case of race condition
* src/configure.ac: autoconf improvements (thanks to Tony Finch)
(EJAB-204).
* src/aclocal.m4: Likewise.
-
+
* src/odbc/ejabberd_odbc.erl: ejabberd admin can now choose the
- relational database port to user from ejabberd configuration file
+ relational database port to use from ejabberd configuration file
(EJAB-195).
* src/doc/guide.tex: Likewise.
false;
_ ->
LDstDomain = To#jid.lserver,
- P = fun(Domain) -> is_subdmomain(LDstDomain, Domain) end,
+ P = fun(Domain) -> is_subdomain(LDstDomain, Domain) end,
lists:any(P, ?MYHOSTS)
end.
%%--------------------------------------------------------------------
-%% Function: is_subdmomain(Domain1, Domain2) -> true | false
+%% Function: is_subdomain(Domain1, Domain2) -> true | false
%% Description: Return true if Domain1 (a string representing an
%% internet domain name) is a subdomain (or the same domain) of
%% Domain2
%% --------------------------------------------------------------------
-is_subdmomain(Domain1, Domain2) ->
+is_subdomain(Domain1, Domain2) ->
lists:suffix(string:tokens(Domain2, "."), string:tokens(Domain1, ".")).
send_element(Pid, El) ->