Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
3eaf615f
Commit
3eaf615f
authored
Jan 27, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Percentage of file-count output was off by one.
parent
6156e72f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
progress.c
progress.c
+2
-1
No files found.
progress.c
View file @
3eaf615f
...
...
@@ -77,7 +77,8 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now,
if
(
is_last
)
{
snprintf
(
eol
,
sizeof
eol
,
" (%d, %.1f%% of %d)
\n
"
,
stats
.
num_transferred_files
,
(
float
)(
stats
.
current_file_index
*
100
)
/
stats
.
num_files
,
(
float
)((
stats
.
current_file_index
+
1
)
*
100
)
/
stats
.
num_files
,
stats
.
num_files
);
}
else
strcpy
(
eol
,
"
\r
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment