Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8ee71cc5
Commit
8ee71cc5
authored
Jun 24, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Jun 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Also abort while sending.
parent
5038c2c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
send.c
programs/winetest/send.c
+2
-0
No files found.
programs/winetest/send.c
View file @
8ee71cc5
...
...
@@ -177,6 +177,7 @@ send_file_direct (const char *name)
report
(
R_PROGRESS
,
2
,
filesize
);
total
=
0
;
while
(
total
<
filesize
&&
ReadFile
(
file
,
buffer
,
BUFLEN
/
2
,
&
bytes_read
,
NULL
))
{
if
(
aborting
)
goto
abort2
;
if
(
!
bytes_read
)
break
;
total
+=
bytes_read
;
if
(
total
>
filesize
)
bytes_read
-=
total
-
filesize
;
...
...
@@ -344,6 +345,7 @@ send_file_wininet (const char *name)
report
(
R_PROGRESS
,
2
,
filesize
);
total
=
0
;
while
(
total
<
filesize
&&
ReadFile
(
file
,
buffer
,
BUFLEN
/
2
,
&
bytes_read
,
NULL
))
{
if
(
aborting
)
goto
done
;
if
(
!
bytes_read
)
break
;
total
+=
bytes_read
;
if
(
total
>
filesize
)
bytes_read
-=
total
-
filesize
;
...
...
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