Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Note on HP-UX's bundled so-called C compiler.
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
8e895ca
..
8462251
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-597,7
+597,7
@@
char *client_name(int fd)
if (getpeername(fd, (struct sockaddr *)&ss, &length)) {
/* FIXME: Can we really not continue? */
rprintf(FERROR, RSYNC_NAME ": getpeername on fd%d failed: %s\n",
- strerror(errno));
+ fd, strerror(errno));
exit_cleanup(RERR_SOCKETIO);
}