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
Added a "chain" item to the struct sum_buf.
[rsync/rsync.git]
/
clientname.c
diff --git
a/clientname.c
b/clientname.c
index
7b36f78
..
6d70827
100644
(file)
--- a/
clientname.c
+++ b/
clientname.c
@@
-34,7
+34,6
@@
#include "rsync.h"
static const char default_name[] = "UNKNOWN";
#include "rsync.h"
static const char default_name[] = "UNKNOWN";
-extern int am_daemon;
extern int am_server;
extern int am_server;
@@
-189,7
+188,7
@@
void client_sockaddr(int fd,
memset(sin, 0, sizeof *sin);
sin->sin_family = AF_INET;
*ss_len = sizeof (struct sockaddr_in);
memset(sin, 0, sizeof *sin);
sin->sin_family = AF_INET;
*ss_len = sizeof (struct sockaddr_in);
-#if HAVE_SOCKADDR_IN_LEN
+#if
def
HAVE_SOCKADDR_IN_LEN
sin->sin_len = *ss_len;
#endif
sin->sin_port = sin6.sin6_port;
sin->sin_len = *ss_len;
#endif
sin->sin_port = sin6.sin6_port;
@@
-321,7
+320,6
@@
int check_name(int fd,
return error;
}
return error;
}
-
/* Given all these results, we expect that one of them will be
* the same as ss. The comparison is a bit complicated. */
for (res = res0; res; res = res->ai_next) {
/* Given all these results, we expect that one of them will be
* the same as ss. The comparison is a bit complicated. */
for (res = res0; res; res = res->ai_next) {