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
New function: who_am_i() returns "sender", "receiver", or "generator".
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
0a9d3f5
..
3dfeebf
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-530,9
+530,10
@@
void generate_files(int f, struct file_list *flist, char *local_name)
int phase=0;
char fbuf[MAXPATHLEN];
int phase=0;
char fbuf[MAXPATHLEN];
- if (verbose > 2)
- rprintf(FINFO,"generator starting pid=%d count=%d\n",
- (int)getpid(),flist->count);
+ if (verbose > 2) {
+ rprintf(FINFO, "generator starting pid=%ld count=%d\n",
+ (long)getpid(), flist->count);
+ }
if (verbose >= 2) {
rprintf(FINFO,
if (verbose >= 2) {
rprintf(FINFO,