diff options
| author | Wayne Davison <wayned@samba.org> | 2006-12-05 15:59:49 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-12-05 15:59:49 +0000 |
| commit | f0fbf1d670ee13bb461d44ac089ef9ecea267c7f (patch) | |
| tree | c7c7ce884a57fa390a928cd695374b752251ff66 /options.c | |
| parent | 7a821d518b900bdaa3183e155740961b57fac7e9 (diff) | |
| download | android_external_rsync-f0fbf1d670ee13bb461d44ac089ef9ecea267c7f.tar.gz android_external_rsync-f0fbf1d670ee13bb461d44ac089ef9ecea267c7f.tar.bz2 android_external_rsync-f0fbf1d670ee13bb461d44ac089ef9ecea267c7f.zip | |
Changed flist_extra_ndx into flist_extra_cnt.
Diffstat (limited to 'options.c')
| -rw-r--r-- | options.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -116,7 +116,7 @@ int checksum_seed = 0; int inplace = 0; int delay_updates = 0; long block_size = 0; /* "long" because popt can't set an int32. */ -int flist_extra_ndx = 1; /* index of optional file-list items */ +int flist_extra_cnt = 0; /* count of file-list extras that everyone gets */ /** Network address family. **/ #ifdef INET6 @@ -1220,9 +1220,9 @@ int parse_arguments(int *argc, const char ***argv, int frommain) } if (preserve_uid) - preserve_uid = flist_extra_ndx++; + preserve_uid = ++flist_extra_cnt; if (preserve_gid) - preserve_gid = flist_extra_ndx++; + preserve_gid = ++flist_extra_cnt; *argv = poptGetArgs(pc); *argc = count_args(*argv); |
