Skip to content

Commit

Permalink
Update rtrouteBase.c
Browse files Browse the repository at this point in the history
  • Loading branch information
karuna2git authored Nov 20, 2024
1 parent bcf21ab commit 40fae63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rtmessage/rtrouteBase.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ rtRouteBase_BindListener(char const* socket_name, int no_delay, int indefinite_r
listener = (rtListener *)rt_malloc(sizeof(rtListener));
if (!listener)
return rtErrorFromErrno(ENOMEM);

listener->fd = -1;
memset(&listener->local_endpoint, 0, sizeof(struct sockaddr_storage));

Expand Down

0 comments on commit 40fae63

Please sign in to comment.