diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-29 22:51:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-29 22:51:47 +0000 |
commit | c2d304366b301a41a2dc2c20602bb27046bf1daf (patch) | |
tree | dbb536786fcf99ec3208060f24bb5342f77f8860 /src/or/rendservice.c | |
parent | 8af07e817ed3f9a25852724a4da8c4e07fff86a5 (diff) | |
download | tor-c2d304366b301a41a2dc2c20602bb27046bf1daf.tar.gz tor-c2d304366b301a41a2dc2c20602bb27046bf1daf.zip |
r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400
Now, all log messages should be distinct.
svn:r8545
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 0cda1d95c0..a3e5134a65 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -345,7 +345,8 @@ rend_service_load_keys(void) /* Load key */ if (strlcpy(fname,s->directory,sizeof(fname)) >= sizeof(fname) || strlcat(fname,"/private_key",sizeof(fname)) >= sizeof(fname)) { - log_warn(LD_CONFIG, "Directory name too long: \"%s\".", s->directory); + log_warn(LD_CONFIG, "Directory name too long to store key file: \"%s\".", + s->directory); return -1; } s->private_key = init_key_from_file(fname); @@ -363,7 +364,8 @@ rend_service_load_keys(void) } if (strlcpy(fname,s->directory,sizeof(fname)) >= sizeof(fname) || strlcat(fname,"/hostname",sizeof(fname)) >= sizeof(fname)) { - log_warn(LD_CONFIG, "Directory name too long: \"%s\".", s->directory); + log_warn(LD_CONFIG, "Directory name too long to store hostname file:" + " \"%s\".", s->directory); return -1; } tor_snprintf(buf, sizeof(buf),"%s.onion\n", s->service_id); |