]> granicus.if.org Git - ejabberd/commitdiff
add missing ~p to error message
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 7 Mar 2008 14:56:37 +0000 (14:56 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 7 Mar 2008 14:56:37 +0000 (14:56 +0000)
SVN Revision: 1221

src/eldap/eldap_pool.erl

index 6b6815bfb1610375e1c30fdb4cc96885c64d05d0..13b45402a6e693d62a289ab477d44a075a46f67d 100644 (file)
@@ -66,7 +66,7 @@ do_request(Name, {F, Args}) ->
        Pid when is_pid(Pid) ->
            case catch apply(eldap, F, [Pid | Args]) of
                {'EXIT', Reason} ->
-                   ?ERROR_MSG("LDAP request failed: eldap:~p(~p)~nReason: ",
+                   ?ERROR_MSG("LDAP request failed: eldap:~p(~p)~nReason: ~p",
                               [F, Args, Reason]),
                    {error, Reason};
                Reply ->