mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine comments.
This commit is contained in:
parent
56e78bdf6f
commit
49a7cb9afb
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ int SrsRtmp::handshake()
|
||||||
|
|
||||||
char* s0s1s2 = new char[3073];
|
char* s0s1s2 = new char[3073];
|
||||||
SrsAutoFree(char, s0s1s2, true);
|
SrsAutoFree(char, s0s1s2, true);
|
||||||
s0s1s2[0] = 0x03; // plain text.
|
// plain text required.
|
||||||
|
s0s1s2[0] = 0x03;
|
||||||
if ((ret = skt.write(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) {
|
if ((ret = skt.write(s0s1s2, 3073, &nsize)) != ERROR_SUCCESS) {
|
||||||
srs_warn("send s0s1s2 failed. ret=%d", ret);
|
srs_warn("send s0s1s2 failed. ret=%d", ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue