1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

ngtcp2: adapt to error code rename

Closes #5786
This commit is contained in:
Daniel Stenberg 2020-08-05 18:12:36 +02:00
parent 70999e6034
commit 2754a89362
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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);