Mercurial > dillo
changeset 2730:ad415fc9a5ce
a_Capi_open_url(): warn when ignoring an uncached/undownloadable download request.
author | Jeremy Henty <onepoint@starurchin.org> |
---|---|
date | Sun, 30 Dec 2012 17:06:11 +0000 |
parents | ad255c6ea75c |
children | db294c199be3 |
files | src/capi.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/capi.c Sun Dec 30 13:07:52 2012 +0000 +++ b/src/capi.c Sun Dec 30 17:06:11 2012 +0000 @@ -410,6 +410,10 @@ 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)) {