You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2011/01/19 23:45:18 UTC

svn commit: r1061043 - /subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c

Author: cmpilato
Date: Wed Jan 19 22:45:18 2011
New Revision: 1061043

URL: http://svn.apache.org/viewvc?rev=1061043&view=rev
Log:
On the 'uris-as-urls' branch:

* subversion/libsvn_fs_base/bdb/locks-table.c
  (svn_fs_bdb__locks_get): Fix a conditional inadvertantly reversed in
    r1060937.

Found by: ivan

Modified:
    subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c

Modified: subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c
URL: http://svn.apache.org/viewvc/subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c?rev=1061043&r1=1061042&r2=1061043&view=diff
==============================================================================
--- subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c (original)
+++ subversion/branches/uris-as-urls/subversion/libsvn_fs_base/bdb/locks-table.c Wed Jan 19 22:45:18 2011
@@ -249,7 +249,7 @@ svn_fs_bdb__locks_get(svn_fs_t *fs,
 
   /* As long as the prefix of the returned KEY matches LOOKUP_PATH we
      know it is either LOOKUP_PATH or a decendant thereof.  */
-  if (svn_fspath__is_root(path, strlen(path)))
+  if (!svn_fspath__is_root(path, strlen(path)))
     lookup_path = apr_pstrcat(pool, path, "/", (char *)NULL);
 
   while ((! db_err)