Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1433e6d
)
Fix completely braindead previous patch. Thanks Jos.
author
Martin Pool
<mbp@samba.org>
Wed, 3 Apr 2002 06:55:24 +0000
(06:55 +0000)
committer
Martin Pool
<mbp@samba.org>
Wed, 3 Apr 2002 06:55:24 +0000
(06:55 +0000)
batch.c
patch
|
blob
|
blame
|
history
diff --git
a/batch.c
b/batch.c
index
6ef89e8
..
8c78ab6
100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-405,14
+405,14
@@
void write_batch_csum_info(int *flist_entry, int flist_count,
struct sum_struct *s)
{
size_t i;
-
size_
t int_count;
+
in
t int_count;
extern int csum_length;
fdb_open = 1;
write_batch_csums_file(flist_entry, sizeof(int));
- int_count = s
->count
;
- write_batch_csums_file(&int_count, int_count);
+ int_count = s
? (int) s->count : 0
;
+ write_batch_csums_file(&int_count,
sizeof
int_count);
if (s) {
for (i = 0; i < s->count; i++) {