if(e.url_wbuf < 0)
{
print("buf_create: out of memory\n");
+ rdy(e, pass, URL_READY_ERROR);
strunzone(e.url_url);
remove(e);
- rdy(world, pass, URL_READY_ERROR);
return;
}
e.url_wbufpos = 0;
e.url_wbuf = -1;
if(!uri_get(url, i + MIN_URL_ID))
{
- print("uri_get: failed\n");
+ rdy(e, pass, URL_READY_ERROR);
strunzone(e.url_url);
remove(e);
- rdy(world, pass, URL_READY_ERROR);
return;
}
e.url_ready = rdy;
break;
if(i >= NUM_URL_ID)
{
- rdy(e, pass, URL_READY_ERROR);
buf_del(e.url_wbuf);
+ rdy(e, pass, URL_READY_ERROR);
strunzone(e.url_url);
remove(e);
return;
if(!uri_postbuf(e.url_url, e.url_id + MIN_URL_ID, "text/plain", "\n", e.url_wbuf))
{
- rdy(e, pass, URL_READY_ERROR);
buf_del(e.url_wbuf);
+ rdy(e, pass, URL_READY_ERROR);
strunzone(e.url_url);
remove(e);
return;