refine comments.
This commit is contained in:
parent
56e78bdf6f
commit
49a7cb9afb
|
|
@ -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…
Reference in New Issue
Block a user