fix compile error in srs_protocol_rtmp_stack.cpp (#4247)

Fix a compiling error.

## How to reproduce?


7951bf3bd6/trunk/src/core/srs_core_performance.hpp (L146)

Delete this line to write `iovs` one by one (or 2 by 2).
Then `./configure && make`, the compiling error appears.
pull/4245/head^2
Jacob Su 2 months ago committed by GitHub
parent 7951bf3bd6
commit 7416134262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -539,7 +539,7 @@ srs_error_t SrsProtocol::do_send_messages(SrsSharedPtrMessage** msgs, int nb_msg
// consume sendout bytes.
p += payload_size;
if ((er = skt->writev(iovs, 2, NULL)) != srs_success) {
if ((err = skt->writev(iovs, 2, NULL)) != srs_success) {
return srs_error_wrap(err, "writev");
}
}

Loading…
Cancel
Save