Skip to content

Commit

Permalink
revert rfcnb/session.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yadij committed May 24, 2023
1 parent 9bec9f0 commit 1204a50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rfcnb/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ RFCNB_Hangup(struct RFCNB_Con *con_Handle)
int
RFCNB_Set_Sock_NoDelay(struct RFCNB_Con *con_Handle, BOOL yn)
{
return setsockopt(con_Handle->fd, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast<char *>(&yn), sizeof(yn));

return (setsockopt(con_Handle->fd, IPPROTO_TCP, TCP_NODELAY,
(char *) &yn, sizeof(yn)));
}

#if NOT_IMPLEMENTED
Expand Down

0 comments on commit 1204a50

Please sign in to comment.