mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
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.
This commit is contained in:
parent
7951bf3bd6
commit
7416134262
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ srs_error_t SrsProtocol::do_send_messages(SrsSharedPtrMessage** msgs, int nb_msg
|
||||||
// consume sendout bytes.
|
// consume sendout bytes.
|
||||||
p += payload_size;
|
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");
|
return srs_error_wrap(err, "writev");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue