Author: rhuijben
Date: Tue Sep  7 07:32:34 2010
New Revision: 993258

URL: http://svn.apache.org/viewvc?rev=993258&view=rev
Log:
* subversion/mod_dav_svn/reports/log.c
  (dav_svn__log_report): Partially revert r993246 to fix compilation.
    The malformed_element_error() function is not defined nor a public
    api.

Modified:
    subversion/trunk/subversion/mod_dav_svn/reports/log.c

Modified: subversion/trunk/subversion/mod_dav_svn/reports/log.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/reports/log.c?rev=993258&r1=993257&r2=993258&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/reports/log.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/reports/log.c Tue Sep  7 07:32:34 
2010
@@ -311,15 +311,7 @@ dav_svn__log_report(const dav_resource *
       else if (strcmp(child->name, "end-revision") == 0)
         end = SVN_STR_TO_REV(dav_xml_get_cdata(child, resource->pool, 1));
       else if (strcmp(child->name, "limit") == 0)
-        {
-          serr = svn_cstring_atoi(&limit,
-                                  dav_xml_get_cdata(child, resource->pool, 1));
-          if (serr)
-            {
-              svn_error_clear(serr);
-              return malformed_element_error("limit", resource->pool);
-            }
-        }
+        limit = atoi(dav_xml_get_cdata(child, resource->pool, 1));
       else if (strcmp(child->name, "discover-changed-paths") == 0)
         discover_changed_paths = TRUE; /* presence indicates positivity */
       else if (strcmp(child->name, "strict-node-history") == 0)


Reply via email to