subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1701077 - /subversion/trunk/subversion/libsvn_ra_serf/serf.c
Date Thu, 03 Sep 2015 17:07:01 GMT
Author: stsp
Date: Thu Sep  3 17:07:01 2015
New Revision: 1701077

URL: http://svn.apache.org/r1701077
Log:
* subversion/libsvn_ra_serf/serf.c
  (svn_ra_serf__progress): Resolve a shadowed symbol warning (about the 
   'read' function) by renaming function parameters: read -> bytes_read,
   and written -> bytes_written for consistency.

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

Modified: subversion/trunk/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/serf.c?rev=1701077&r1=1701076&r2=1701077&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/serf.c Thu Sep  3 17:07:01 2015
@@ -442,12 +442,13 @@ load_config(svn_ra_serf__session_t *sess
 #undef DEFAULT_HTTP_TIMEOUT
 
 static void
-svn_ra_serf__progress(void *progress_baton, apr_off_t read, apr_off_t written)
+svn_ra_serf__progress(void *progress_baton, apr_off_t bytes_read,
+                      apr_off_t bytes_written)
 {
   const svn_ra_serf__session_t *serf_sess = progress_baton;
   if (serf_sess->progress_func)
     {
-      serf_sess->progress_func(read + written, -1,
+      serf_sess->progress_func(bytes_read + bytes_written, -1,
                                serf_sess->progress_baton,
                                serf_sess->pool);
     }



Mime
View raw message