serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1711824 - /serf/trunk/buckets/http2_frame_buckets.c
Date Sun, 01 Nov 2015 16:17:04 GMT
Author: rhuijben
Date: Sun Nov  1 16:17:04 2015
New Revision: 1711824

URL: http://svn.apache.org/viewvc?rev=1711824&view=rev
Log:
* buckets/http2_frame_buckets.c
  (serf_http2_unpad_read_iovec): Decrement value instead of pointer.

Found by: clang

Modified:
    serf/trunk/buckets/http2_frame_buckets.c

Modified: serf/trunk/buckets/http2_frame_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/http2_frame_buckets.c?rev=1711824&r1=1711823&r2=1711824&view=diff
==============================================================================
--- serf/trunk/buckets/http2_frame_buckets.c (original)
+++ serf/trunk/buckets/http2_frame_buckets.c Sun Nov  1 16:17:04 2015
@@ -514,7 +514,7 @@ serf_http2_unpad_read_iovec(serf_bucket_
               if (cv->iov_len <= padread)
                 {
                   padread -= cv->iov_len;
-                  *vecs_used--;
+                  (*vecs_used)--;
                 }
               else
                 {



Mime
View raw message