You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by bl...@apache.org on 2010/12/29 02:15:35 UTC

svn commit: r1053499 - /subversion/trunk/subversion/libsvn_repos/commit.c

Author: blair
Date: Wed Dec 29 01:15:34 2010
New Revision: 1053499

URL: http://svn.apache.org/viewvc?rev=1053499&view=rev
Log:
Follow up to r1051988 which had a copy-pasto that has a NULL
deferefence.

* subversion/libsvn_repos/commit.c
  (svn_repos__post_commit_error_str):
    If there is no post-commit hook error, then use the input error,
    not the NULL hook error.

Modified:
    subversion/trunk/subversion/libsvn_repos/commit.c

Modified: subversion/trunk/subversion/libsvn_repos/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/commit.c?rev=1053499&r1=1053498&r2=1053499&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/commit.c (original)
+++ subversion/trunk/subversion/libsvn_repos/commit.c Wed Dec 29 01:15:34 2010
@@ -701,8 +701,8 @@ svn_repos__post_commit_error_str(svn_err
     {
       msg = apr_psprintf(pool,
                          _("post-commit FS processing had error '%s'."),
-                         hook_err2->message ? hook_err2->message
-                                            : _("(no error message)"));
+                         err->message ? err->message
+                                      : _("(no error message)"));
     }
 
   return msg;