Commit 09f35c0
authored
[docs] Fixed API doc: SRT_INVALID_SOCK instead of SRT_ERROR in str_accept (#2785).
The functions srt_accept() and srt_accept_bond() return a SRTSOCKET.
In case of error, the returned value is SRT_INVALID_SOCK, not SRT_ERROR.
In practice, the two values are identical (-1) but they do not have
the same semantics.1 parent 51e3d0d commit 09f35c0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
| 669 | + | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
| 725 | + | |
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| |||
0 commit comments