diff options
-rw-r--r-- | src/domain.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/domain.c b/src/domain.c index 70cdaaa3..980b2c67 100644 --- a/src/domain.c +++ b/src/domain.c @@ -144,8 +144,10 @@ bool_t a_Domain_permit(const DilloUrl *source, const DilloUrl *dest) } } - if (ret == FALSE) + if (ret == FALSE) { + if (source_host[0] == '\0') + source_host = "(none)"; MSG("Domain: DENIED from %s to %s.\n", source_host, dest_host); - + } return ret; } |