From e726be3a76faee44825f148625d802279c33f3c5 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 9 Feb 2006 00:32:51 +0100 Subject: [PATCH] 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: 347970988d244afa226ceee6807bca9fbf3caeb3 --- src/network/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/connection.c b/src/network/connection.c index 198beaa6f..d084ef1ae 100644 --- a/src/network/connection.c +++ b/src/network/connection.c @@ -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;