subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1557721 - /subversion/trunk/subversion/libsvn_ra_serf/eagain_bucket.c
Date Mon, 13 Jan 2014 14:06:14 GMT
Author: rhuijben
Date: Mon Jan 13 14:06:14 2014
New Revision: 1557721

URL: http://svn.apache.org/r1557721
Log:
Small correctness tweak, probably in unused code.

* subversion/libsvn_ra_serf/eagain_bucket.c
  (eagain_bucket_peek): Report EAGAIN instead of EOF from the peek handler.

Suggested by: ivan

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

Modified: subversion/trunk/subversion/libsvn_ra_serf/eagain_bucket.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/eagain_bucket.c?rev=1557721&r1=1557720&r2=1557721&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/eagain_bucket.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/eagain_bucket.c Mon Jan 13 14:06:14 2014
@@ -91,7 +91,7 @@ eagain_bucket_peek(serf_bucket_t *bucket
   *data = eab->data;
   *len = eab->remaining;
 
-  return *data == NULL ? APR_EOF : APR_SUCCESS;
+  return *data == NULL ? APR_EAGAIN : APR_SUCCESS;
 }
 
 



Mime
View raw message