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 the 'p' (perishable) flag to the filter rules, as suggested
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
5ef0457
..
fd8b1b2
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-28,6
+28,7
@@
#include "rsync.h"
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include "rsync.h"
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <netinet/tcp.h>
extern char *bind_address;
extern int default_af_hint;
extern char *bind_address;
extern int default_af_hint;
@@
-94,7
+95,7
@@
static int establish_proxy_connection(int fd, char *host, int port,
buffer);
return -1;
}
buffer);
return -1;
}
- for (cp = &buffer[5]; is
digit(*(uchar*)
cp) || *cp == '.'; cp++) {}
+ for (cp = &buffer[5]; is
Digit(
cp) || *cp == '.'; cp++) {}
while (*cp == ' ')
cp++;
if (*cp != '2') {
while (*cp == ' ')
cp++;
if (*cp != '2') {