subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1099304 - /subversion/trunk/subversion/libsvn_client/ra.c
Date Wed, 04 May 2011 00:21:15 GMT
Author: rhuijben
Date: Wed May  4 00:21:15 2011
New Revision: 1099304

URL: http://svn.apache.org/viewvc?rev=1099304&view=rev
Log:
* subversion/libsvn_client/ra.c
  (push_wc_prop): Following up on r1096562, fix typo in pool name and
    rename pool to change_pool.

Modified:
    subversion/trunk/subversion/libsvn_client/ra.c

Modified: subversion/trunk/subversion/libsvn_client/ra.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/ra.c?rev=1099304&r1=1099303&r2=1099304&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/ra.c (original)
+++ subversion/trunk/subversion/libsvn_client/ra.c Wed May  4 00:21:15 2011
@@ -152,12 +152,12 @@ push_wc_prop(void *baton,
 
       if (strcmp(relpath, item->session_relpath) == 0)
         {
-          apr_pool_t *cpool = item->incoming_prop_changes->pool;
-          svn_prop_t *prop = apr_palloc(cpool, sizeof(*prop));
+          apr_pool_t *changes_pool = item->incoming_prop_changes->pool;
+          svn_prop_t *prop = apr_palloc(changes_pool, sizeof(*prop));
 
-          prop->name = apr_pstrdup(cpool, name);
+          prop->name = apr_pstrdup(changes_pool, name);
           if (value)
-            prop->value = svn_string_dup(value, pool);
+            prop->value = svn_string_dup(value, changes_pool);
           else
             prop->value = NULL;
 



Mime
View raw message