aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Henty <onepoint@starurchin.org>2012-12-30 17:06:11 +0000
committerJeremy Henty <onepoint@starurchin.org>2012-12-30 17:06:11 +0000
commitaac471e216dea5ba19dcfce804a9495d37ee80eb (patch)
tree7bba48ae9cea08d985d1e791b7a6ee0e3b8281db
parent164fc414f83dc586097a16e16157c6fdaf82d909 (diff)
a_Capi_open_url(): warn when ignoring an uncached/undownloadable download request.
-rw-r--r--src/capi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/capi.c b/src/capi.c
index 0d7e79a4..de338267 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -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)) {