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
Optimized unsafe_symlink() to avoid malloc/free calls.
[rsync/rsync.git]
/
sender.c
diff --git
a/sender.c
b/sender.c
index
dbc0c0f
..
212ceba
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-37,9
+37,9
@@
extern int am_server;
**/
**/
-/*
-
r
eceive the checksums for a buffer
-
*/
+/*
*
+
* R
eceive the checksums for a buffer
+
*
*/
static struct sum_struct *receive_sums(int f)
{
struct sum_struct *s;
static struct sum_struct *receive_sums(int f)
{
struct sum_struct *s;
@@
-55,8
+55,8
@@
static struct sum_struct *receive_sums(int f)
s->sums = NULL;
if (verbose > 3)
s->sums = NULL;
if (verbose > 3)
- rprintf(FINFO,"count=%
d n=%d rem=%
d\n",
-
s->count,s->n,
s->remainder);
+ rprintf(FINFO,"count=%
ld n=%ld rem=%l
d\n",
+
(long) s->count, (long) s->n, (long)
s->remainder);
if (s->count == 0)
return(s);
if (s->count == 0)
return(s);