diff options
author | Christian Pointner <equinox@spreadspace.org> | 2010-12-11 13:40:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2010-12-11 13:40:13 +0000 |
commit | 9e7b3a3f86c170109f7b25ed5eddc7633011b0e2 (patch) | |
tree | d74322204e92f7d937aa0495b4813c029ec66e15 /src/cfg_parser.rl | |
parent | improved error output on bind error (diff) |
better debug output at parseconfig
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@51 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/cfg_parser.rl')
-rw-r--r-- | src/cfg_parser.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_parser.rl b/src/cfg_parser.rl index 47d237c..76fcf08 100644 --- a/src/cfg_parser.rl +++ b/src/cfg_parser.rl @@ -215,7 +215,7 @@ int read_configfile(const char* filename, listeners_t* listener) } close(fd); - log_printf(DEBUG, "mapped %ld bytes from file %s", sb.st_size, filename); + log_printf(DEBUG, "mapped %ld bytes from file %s at address 0x%08lX", sb.st_size, filename, p); int ret = parse_listener(p, p + sb.st_size, listener); if(munmap(p, sb.st_size) == -1) { |