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 the order that ssh and rsh are mentioned.
[rsync/rsync.git]
/
checksum.c
diff --git
a/checksum.c
b/checksum.c
index
57dac48
..
19bd6f1
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-23,7
+23,7
@@
int csum_length=2; /* initial value */
#define CSUM_CHUNK 64
#define CSUM_CHUNK 64
-
int checksum_seed = 0
;
+
extern int checksum_seed
;
extern int protocol_version;
/*
extern int protocol_version;
/*
@@
-58,7
+58,7
@@
void get_checksum2(char *buf,int len,char *sum)
if (len > len1) {
if (buf1) free(buf1);
if (len > len1) {
if (buf1) free(buf1);
- buf1 =
(char *)malloc(
len+4);
+ buf1 =
new_array(char,
len+4);
len1 = len;
if (!buf1) out_of_memory("get_checksum2");
}
len1 = len;
if (!buf1) out_of_memory("get_checksum2");
}