]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_s2s.erl: Fixed spelling
authorAlexey Shchepin <alexey@process-one.net>
Sat, 17 Mar 2007 22:53:42 +0000 (22:53 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sat, 17 Mar 2007 22:53:42 +0000 (22:53 +0000)
SVN Revision: 746

ChangeLog
src/ejabberd_s2s.erl

index 69754d4ba817f58050543cc495465f2f6562946a..3ec2c36ea2818ceab2f90b5c2a176addb21f7315 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 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
 
@@ -23,9 +25,9 @@
        * 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.
 
index 100e8a8d2ae00f24371d04633b283dfd9b6d21a9..7800724e53ec3994226de4be62c7bb9f248220fe 100644 (file)
@@ -269,17 +269,17 @@ is_service(From, To) ->
            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) ->