mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
NET: Minor tidyup
This commit is contained in:
parent
8b938cb7a6
commit
c2d5464910
@ -1002,8 +1002,9 @@ change_connection(struct download *old, struct download *new,
|
||||
if (new) {
|
||||
add_to_list(conn->downloads, new);
|
||||
|
||||
} else if (conn->detached || interrupt) {
|
||||
abort_connection(conn, S_INTERRUPTED);
|
||||
} else {
|
||||
if (conn->detached || interrupt)
|
||||
abort_connection(conn, S_INTERRUPTED);
|
||||
}
|
||||
|
||||
sort_queue();
|
||||
|
Loading…
Reference in New Issue
Block a user