Skip to content

Commit

Permalink
Fix getpeername call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Pool committed Jan 24, 2002
1 parent 5664871 commit 5fdcc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ void client_sockaddr(int fd,
struct sockaddr_storage *ss,
socklen_t *ss_len)
{
if (getpeername(fd, (struct sockaddr *)&ss, ss_len)) {
if (getpeername(fd, (struct sockaddr *) ss, ss_len)) {
/* FIXME: Can we really not continue? */
rprintf(FERROR, RSYNC_NAME ": getpeername on fd%d failed: %s\n",
fd, strerror(errno));
Expand Down

0 comments on commit 5fdcc39

Please sign in to comment.