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
Doc.
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
a01499e
..
8a54911
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-596,7
+596,10
@@
static int get_sockaddr_family(const struct sockaddr_storage *ss)
/**
- * Return the DNS name of the client
+ * Return the DNS name of the client.
+ *
+ * The name is statically cached so that repeated lookups are quick,
+ * so there is a limit of one lookup per customer.
**/
char *client_name(int fd)
{