mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-27 17:59:49 +02:00
Gah, another attempt
This commit is contained in:
@@ -2253,7 +2253,6 @@ int search_ui(pixel *vid_buf)
|
|||||||
|
|
||||||
if((b && !bq && mp!=-1 && !st && !uih) || do_open==1)
|
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) {
|
if(open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1) {
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
@@ -2897,6 +2896,11 @@ int open_ui(pixel *vid_buf, char *save_id, char *save_date)
|
|||||||
if(!b)
|
if(!b)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
//Close open connections
|
||||||
|
if(http)
|
||||||
|
http_async_req_close(http);
|
||||||
|
if(http_2)
|
||||||
|
http_async_req_close(http_2);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user