aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-07-19 15:28:14 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-07-19 15:28:14 -0400
commitca3295f20571ce25ecd52fe93b5351224f85c881 (patch)
treee77f73c53de3254156f7304040bb8f9a25edaf2a /src/capi.c
parent7b432c366ef320f670540de3bdb8877ab221d31b (diff)
Cancel the expected URL after offering a download (BUG#982)
After showing the download dialog, the original link remained unresponsive.
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capi.c b/src/capi.c
index 5e2928e3..867083b5 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -758,6 +758,7 @@ void a_Capi_ccc(int Op, int Branch, int Dir, ChainLink *Info,
a_Chain_bcb(OpAbort, Info, NULL, NULL);
/* remove the cache entry for this URL */
a_Cache_entry_remove_by_url(conn->url);
+ a_Nav_cancel_expect_if_eq(conn->bw, conn->url);
Capi_conn_unref(conn);
dFree(Info);
break;