winetest: Avoid calling fclose twice on the same file (Coverity).
This commit is contained in:
parent
8ddaf6cc21
commit
a4fff8b2e0
@ -178,7 +178,7 @@ send_file (const char *name)
|
|||||||
if (send_buf (s, body2, sizeof body2 - 1)) {
|
if (send_buf (s, body2, sizeof body2 - 1)) {
|
||||||
report (R_WARNING, "Error sending trailer: %d, %d",
|
report (R_WARNING, "Error sending trailer: %d, %d",
|
||||||
errno, WSAGetLastError ());
|
errno, WSAGetLastError ());
|
||||||
goto abort2;
|
goto abort1;
|
||||||
}
|
}
|
||||||
report (R_DELTA, 0, "Network transfer: Done");
|
report (R_DELTA, 0, "Network transfer: Done");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user