[vlc-commits] http: remove no-op

Rémi Denis-Courmont git at videolan.org
Tue Aug 30 15:12:58 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 30 15:39:47 2016 +0300| [2c576fed75b8b31b4edd8bf6cfb4695557c08129] | committer: Rémi Denis-Courmont

http: remove no-op

recv_end is set in the immediately following function call.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c576fed75b8b31b4edd8bf6cfb4695557c08129
---

 modules/access/http/h2conn.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/access/http/h2conn.c b/modules/access/http/h2conn.c
index 0035162..1650678 100644
--- a/modules/access/http/h2conn.c
+++ b/modules/access/http/h2conn.c
@@ -156,7 +156,6 @@ static int vlc_h2_stream_data(void *ctx, struct vlc_h2_frame *f)
     if (len > s->recv_cwnd)
     {
         free(f);
-        s->recv_end = true;
         return vlc_h2_stream_fatal(s, VLC_H2_FLOW_CONTROL_ERROR);
     }
     s->recv_cwnd -= len;



More information about the vlc-commits mailing list