Skip to content

Commit

Permalink
Leftover typo in an assert condition
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Oct 24, 2024
1 parent 8acb908 commit 1d444f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtsp/rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ static inline int __bind_rtcp(struct connection_item_t *con )

/* setup serve rsocket */
ASSERT((server_fd = socket(AF_INET, SOCK_DGRAM, 0)) > 0, ({
ERR("socket:%s\n", trerror(errno));
ERR("socket:%s\n", strerror(errno));
goto error;}));

addr.sin_port = htons(con->trans[con->track_id].server_port_rtcp);
Expand Down

0 comments on commit 1d444f7

Please sign in to comment.