You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/10/17 02:06:45 UTC

svn commit: r1532943 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: breser
Date: Thu Oct 17 00:06:44 2013
New Revision: 1532943

URL: http://svn.apache.org/r1532943
Log:
Followup to r1532866: derefence pointer to svn_node_kind_t when including node
type value in an error message.

* subversion/libsvn_repos/dump.c
  (verify_directory_entry): kind is a pointer to svn_node_kind_t.

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

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1532943&r1=1532942&r2=1532943&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Thu Oct 17 00:06:44 2013
@@ -1333,7 +1333,7 @@ verify_directory_entry(void *baton, cons
                   svn_error_createf(SVN_ERR_NODE_UNEXPECTED_KIND, NULL,
                                     _("Unexpected node kind %d for '%s'. "
                                       "Expected kind was %d."),
-                                    dirent->kind, path, kind);
+                                    dirent->kind, path, *kind);
             }
         }
     }