diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 | 
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2015-10-12 08:54:49 +0000 | 
| commit | dc5d469d6574e9fb03bdd793658bb371315b306a (patch) | |
| tree | 013c2e6845398e5a9ca4901dcc077769c7520e1d /subversion/libsvn_client/iprops.c | |
| parent | 58218291fa73a17020ef0447398e9e8a78f9e8c7 (diff) | |
Diffstat (limited to 'subversion/libsvn_client/iprops.c')
| -rw-r--r-- | subversion/libsvn_client/iprops.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/subversion/libsvn_client/iprops.c b/subversion/libsvn_client/iprops.c index 653ce8cfb99a..9d725bf42632 100644 --- a/subversion/libsvn_client/iprops.c +++ b/subversion/libsvn_client/iprops.c @@ -176,8 +176,8 @@ get_inheritable_props(apr_hash_t **wcroot_iprops,             hi;             hi = apr_hash_next(hi))          { -          const char *child_abspath = svn__apr_hash_index_key(hi); -          const char *child_repos_relpath = svn__apr_hash_index_val(hi); +          const char *child_abspath = apr_hash_this_key(hi); +          const char *child_repos_relpath = apr_hash_this_val(hi);            const char *url;            apr_array_header_t *inherited_props;            svn_error_t *err; @@ -244,6 +244,8 @@ svn_client__get_inheritable_props(apr_hash_t **wcroot_iprops,    const char *old_session_url;    svn_error_t *err; +  *wcroot_iprops = NULL; +    if (!SVN_IS_VALID_REVNUM(revision))      return SVN_NO_ERROR; | 
