1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

SRT: Type from shoulde to should. (#2455)

Change word typo from shoulde to should
This commit is contained in:
Abrar Ahmed 2021-07-01 16:28:35 +05:00 committed by winlin
parent cc99226ed5
commit b9288668a7

View file

@ -229,7 +229,7 @@ void srt_server::srt_handle_connection(SRT_SOCKSTATUS status, SRTSOCKET input_fd
} else if (srt_conn_ptr->get_mode() == PUSH_SRT_MODE) { } else if (srt_conn_ptr->get_mode() == PUSH_SRT_MODE) {
conn_event = SRT_EPOLL_IN | SRT_EPOLL_ERR; conn_event = SRT_EPOLL_IN | SRT_EPOLL_ERR;
} else { } else {
srt_log_trace("stream mode error, it shoulde be m=push or m=pull, streamid:%s", srt_log_trace("stream mode error, it should be m=push or m=pull, streamid:%s",
srt_conn_ptr->get_streamid().c_str()); srt_conn_ptr->get_streamid().c_str());
srt_conn_ptr->close(); srt_conn_ptr->close();
return; return;