1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

NET: Nullify download->progress when move_download args are in result state

This is another follow-up regression fix that made open and save actions in
the WTD-dialog not function correctly when the connection ended before they
were pressed.

Related: 347970988d
This commit is contained in:
Jonas Fonseca 2006-02-09 00:32:51 +01:00 committed by Jonas Fonseca
parent 4b91866c84
commit e726be3a76

View File

@ -1046,6 +1046,7 @@ move_download(struct download *old, struct download *new,
* connection has been detached and non-NULL otherwise. */
if (new->callback) {
new->conn = NULL;
new->progress = NULL;
new->callback(new, new->data);
}
return;