Skip to content

Commit

Permalink
fix compile error in srs_protocol_rtmp_stack.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
suzp1984 committed Nov 29, 2024
1 parent 7951bf3 commit 726c23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/protocol/srs_protocol_rtmp_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
Expand Down

0 comments on commit 726c23f

Please sign in to comment.