subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1532943 - /subversion/trunk/subversion/libsvn_repos/dump.c
Date Thu, 17 Oct 2013 00:06:45 GMT
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);
             }
         }
     }



Mime
View raw message