diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-15 00:00:08 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-15 00:00:08 +0200 |
commit | 021d425fea3bdc727328ccbe24f508453a4ada36 (patch) | |
tree | 8a3e9c11bfb4672c79e9ef797daccca6ca4102fd /src | |
parent | 6c5f32b8ec8f9a01ca0ab6107779bfa2eda5299b (diff) | |
parent | 3143688e32d73fa788fd2d37e395753bae578e7d (diff) |
Merge with main repo.
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; } |