Skip to content

Commit

Permalink
[docs] Fix: changed INVALID_SOCKET to SRT_INVALID_SOCK (#1586)
Browse files Browse the repository at this point in the history
INVALID_SOCKET is not part of the C API.
  • Loading branch information
nh2 authored Oct 12, 2020
1 parent 257e022 commit f646ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Note that socket IDs always have the `SRTGROUP_MASK` bit clear.
- Returns:

* a valid socket ID on success
* `INVALID_SOCKET` (-1) on error
* `SRT_INVALID_SOCK` (`-1`) on error

- Errors:

Expand Down

0 comments on commit f646ef8

Please sign in to comment.