mirror of
https://github.com/curl/curl.git
synced 2026-05-19 06:46:20 +03:00
http2: use named define instead of magic constant in read callback
This commit is contained in:
parent
46398941e4
commit
71e2acaad6
1 changed files with 1 additions and 1 deletions
|
|
@ -949,7 +949,7 @@ static ssize_t data_source_read_callback(nghttp2_session *session,
|
|||
}
|
||||
|
||||
if(stream->upload_left == 0)
|
||||
*data_flags = 1;
|
||||
*data_flags = NGHTTP2_DATA_FLAG_EOF;
|
||||
else if(nread == 0)
|
||||
return NGHTTP2_ERR_DEFERRED;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue