]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: adapt to error code rename
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 Aug 2020 16:12:36 +0000 (18:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Aug 2020 21:35:31 +0000 (23:35 +0200)
Closes #5786

lib/vquic/ngtcp2.c

index 013c10bfaa3c24b073155931d012f52fab3b08e9..20ee08dd658185eb7952887f071dd7cdfd56114e 100644 (file)
@@ -1835,7 +1835,7 @@ static CURLcode ng_flush_egress(struct connectdata *conn, int sockfd,
             }
             continue;
           }
-          else if(outlen == NGTCP2_ERR_WRITE_STREAM_MORE) {
+          else if(outlen == NGTCP2_ERR_WRITE_MORE) {
             assert(ndatalen > 0);
             rv = nghttp3_conn_add_write_offset(qs->h3conn, stream_id,
                                                ndatalen);