summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-11-03 18:40:57 (GMT)
committer Simon <simon@hardwired.org.uk>2010-11-03 18:40:57 (GMT)
commit6124922b9f47003e4935580d792b7ba3b8ba1ede (patch)
tree6729fa297f67eb959f8fbe2382f550dae04266ac /src
parent53eaaec77af41cecf5180a5e3f7e4fd48fbcdbb2 (diff)
downloadpowder-6124922b9f47003e4935580d792b7ba3b8ba1ede.zip
powder-6124922b9f47003e4935580d792b7ba3b8ba1ede.tar.gz
Gah, another attempt
Diffstat (limited to 'src')
-rw-r--r--src/interface.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index defed5e..994b8c4 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -2253,7 +2253,6 @@ int search_ui(pixel *vid_buf)
if((b && !bq && mp!=-1 && !st && !uih) || do_open==1)
{
- active = 0;
if(open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1) {
goto finish;
}
@@ -2897,6 +2896,11 @@ int open_ui(pixel *vid_buf, char *save_id, char *save_date)
if(!b)
break;
}
+ //Close open connections
+ if(http)
+ http_async_req_close(http);
+ if(http_2)
+ http_async_req_close(http_2);
return retval;
}