subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1066540 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Wed, 02 Feb 2011 17:16:40 GMT
Author: cmpilato
Date: Wed Feb  2 17:16:40 2011
New Revision: 1066540

URL: http://svn.apache.org/viewvc?rev=1066540&view=rev
Log:
* subversion/libsvn_ra_serf/util.c
  (svn_ra_serf__discover_vcc): Fix while() condition to avoid bailing
    out of loop too early.  While here, correct an error message that
    referred to an OPTIONS request when a PROPFIND was used.

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

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1066540&r1=1066539&r2=1066540&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Feb  2 17:16:40 2011
@@ -1807,12 +1807,12 @@ svn_ra_serf__discover_vcc(const char **v
         }
     }
   while ((path[0] != '\0')
-         && (! (path[0] == '/') && (path[1] == '\0')));
+         && (! (path[0] == '/' && path[1] == '\0')));
 
   if (!*vcc_url)
     {
       return svn_error_create(SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED, NULL,
-                              _("The OPTIONS response did not include the "
+                              _("The PROPFIND response did not include the "
                                 "requested version-controlled-configuration "
                                 "value"));
     }



Mime
View raw message