subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1578326 - /subversion/trunk/subversion/libsvn_ra_serf/lock.c
Date Mon, 17 Mar 2014 12:05:46 GMT
Author: rhuijben
Date: Mon Mar 17 12:05:46 2014
New Revision: 1578326

URL: http://svn.apache.org/r1578326
Log:
* subversion/libsvn_ra_serf/lock.c
  (svn_ra_serf__unlock): Following up on r1578311, remove the now invalid
    assumption that serf's get_lock will always return a lock instance,
    even when a node isn't locked.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/lock.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/lock.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/lock.c?rev=1578326&r1=1578325&r2=1578326&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/lock.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/lock.c Mon Mar 17 12:05:46 2014
@@ -564,7 +564,7 @@ svn_ra_serf__unlock(svn_ra_session_t *ra
           err = svn_ra_serf__get_lock(ra_session, &existing_lock, path,
                                       iterpool);
 
-          if (!err && existing_lock->token)
+          if (!err && existing_lock)
             {
               svn_hash_sets(path_tokens, path,
                             apr_pstrdup(scratch_pool, existing_lock->token));



Mime
View raw message