1
0
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:
Jonas Fonseca 2006-02-03 10:44:29 +01:00 committed by Jonas Fonseca
parent 8b938cb7a6
commit c2d5464910

View File

@ -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();