diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cache.c | 3 | ||||
-rw-r--r-- | src/domain.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/cache.c b/src/cache.c index 1100b718..17ddbc25 100644 --- a/src/cache.c +++ b/src/cache.c @@ -870,7 +870,8 @@ static void Cache_finish_msg(CacheEntry_t *entry) if (eol) { char *status_line = dStrndup(entry->Header->str, eol - entry->Header->str); - MSG_HTTP("Body was empty. Server sent status: %s\n", status_line); + MSG_HTTP("Body of %s was empty. Server sent status: %s\n", + URL_STR_(entry->Url), status_line); dFree(status_line); } } diff --git a/src/domain.c b/src/domain.c index ea5c4948..8bff39de 100644 --- a/src/domain.c +++ b/src/domain.c @@ -129,7 +129,7 @@ bool_t a_Domain_permit(const DilloUrl *source, const DilloUrl *dest) ret = source_host[0] == '\0' || !dStrAsciiCasecmp(URL_SCHEME(dest), "data"); if (ret == FALSE) - MSG("Domain: DENIED from %s to %s.\n", source_host, URL_STR(dest)); + MSG("Domain: DENIED %s -> %s.\n", source_host, URL_STR(dest)); return ret; } @@ -151,7 +151,7 @@ bool_t a_Domain_permit(const DilloUrl *source, const DilloUrl *dest) if (ret == FALSE) { const char *src = source_host[0] ? source_host : URL_STR(source); - MSG("Domain: DENIED from %s to %s.\n", src, dest_host); + MSG("Domain: DENIED %s -> %s.\n", src, dest_host); } return ret; } |