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
changed strlcat() and strlcpy() to have the same semantics as the
[rsync/rsync.git]
/
access.c
diff --git
a/access.c
b/access.c
index
046d5e3
..
f176343
100644
(file)
--- a/
access.c
+++ b/
access.c
@@
-34,7
+34,7
@@
static int match_hostname(char *host, char *tok)
static int match_address(char *addr, char *tok)
{
char *p;
static int match_address(char *addr, char *tok)
{
char *p;
- unsigned long a, t, mask = ~0;
+ unsigned long a, t, mask =
(unsigned long)
~0;
if (!addr || !*addr) return 0;
if (!addr || !*addr) return 0;