You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/01/21 13:37:30 UTC

svn commit: r1436309 - /subversion/trunk/subversion/libsvn_client/patch.c

Author: stsp
Date: Mon Jan 21 12:37:30 2013
New Revision: 1436309

URL: http://svn.apache.org/viewvc?rev=1436309&view=rev
Log:
Follow-up to r1436303, fix build problem.

* subversion/libsvn_client/patch.c
  (readline): The stringbuf_t length field is called 'len', not 'size'.

Modified:
    subversion/trunk/subversion/libsvn_client/patch.c

Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=1436309&r1=1436308&r2=1436309&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Mon Jan 21 12:37:30 2013
@@ -1177,7 +1177,7 @@ readline(target_content_t *content,
   /* Increase the line number if a line is read. An easy !eof won't work,
      because that won't count the last and sometime only line.
      (And using line number 0 gives all kinds of problems) */
-  if (line_raw->size > 0 || eol_str)
+  if (line_raw->len > 0 || eol_str)
     content->current_line++;
 
   return SVN_NO_ERROR;