summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-05 18:12:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-05 23:35:31 +0200
commit2754a893628c7d320031a334cf73e48ba159bfc0 (patch)
treeda5830852bf9b25ec9479d27bc09b64c583719b1
parent70999e6034e60c5131cf48cce4d95e329e6eecf9 (diff)
downloadcurl-2754a893628c7d320031a334cf73e48ba159bfc0.tar.gz
ngtcp2: adapt to error code rename
Closes #5786
-rw-r--r--lib/vquic/ngtcp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 013c10bfa..20ee08dd6 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -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);