diff options
author | Jeremy Henty <onepoint@starurchin.org> | 2012-12-30 17:06:11 +0000 |
---|---|---|
committer | Jeremy Henty <onepoint@starurchin.org> | 2012-12-30 17:06:11 +0000 |
commit | aac471e216dea5ba19dcfce804a9495d37ee80eb (patch) | |
tree | 7bba48ae9cea08d985d1e791b7a6ee0e3b8281db | |
parent | 164fc414f83dc586097a16e16157c6fdaf82d909 (diff) |
a_Capi_open_url(): warn when ignoring an uncached/undownloadable download request.
-rw-r--r-- | src/capi.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -410,6 +410,10 @@ int a_Capi_open_url(DilloWeb *web, CA_Callback_t Call, void *CbData) cmd = Capi_dpi_build_cmd(web, server); a_Capi_dpi_send_cmd(web->url, web->bw, cmd, server, 1); dFree(cmd); + } else { + MSG_WARN("Ignoring download request for '%s': " + "not in cache and not downloadable.\n", + URL_STR(web->url)); } } else if (Capi_url_uses_dpi(web->url, &server)) { |