diff options
Diffstat (limited to 'subversion/mod_dav_svn/deadprops.c')
-rw-r--r-- | subversion/mod_dav_svn/deadprops.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/subversion/mod_dav_svn/deadprops.c b/subversion/mod_dav_svn/deadprops.c index 5d228a4..94e1a69 100644 --- a/subversion/mod_dav_svn/deadprops.c +++ b/subversion/mod_dav_svn/deadprops.c @@ -339,7 +339,7 @@ db_open(apr_pool_t *p, db->p = svn_pool_create(p); /* ### temp hack */ - db->work = svn_stringbuf_ncreate("", 0, db->p); + db->work = svn_stringbuf_create_empty(db->p); /* make our path-based authz callback available to svn_repos_* funcs. */ arb = apr_pcalloc(p, sizeof(*arb)); @@ -654,16 +654,14 @@ static void get_name(dav_db *db, dav_prop_name *pname) } else { - const void *name; - - apr_hash_this(db->hi, &name, NULL, NULL); + const char *name = apr_hash_this_key(db->hi); #define PREFIX_LEN (sizeof(SVN_PROP_PREFIX) - 1) if (strncmp(name, SVN_PROP_PREFIX, PREFIX_LEN) == 0) #undef PREFIX_LEN { pname->ns = SVN_DAV_PROP_NS_SVN; - pname->name = (const char *)name + 4; + pname->name = name + 4; } else { |