summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-02 21:59:36 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-02 21:59:36 +0000
commit5315b61e13586828a19e060cdc71cb353b2e791a (patch)
tree153edc9e5b71ebed2a5a2dcb747cd15019c0fdf4 /src
parent5f8e2c2bc42239e9347ef70f3775c0d4ad378e1c (diff)
downloadtor-5315b61e13586828a19e060cdc71cb353b2e791a.tar.gz
tor-5315b61e13586828a19e060cdc71cb353b2e791a.zip
Fix some log messages to refer to correct control type.
svn:r3729
Diffstat (limited to 'src')
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 789cdc8898..a23c54bc4f 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -494,14 +494,14 @@ handle_control_mapaddress(connection_t *conn, uint32_t len, const char *body)
if (!is_plausible_address(from)) {
log_fn(LOG_WARN,"Skipping invalid argument '%s' in MapAddress msg",from);
} else if (!is_plausible_address(to)) {
- log_fn(LOG_WARN,"Skipping invalid argument '%s' in AddressMap msg",to);
+ log_fn(LOG_WARN,"Skipping invalid argument '%s' in MapAddress msg",to);
} else if (!strcmp(from, ".") || !strcmp(from, "0.0.0.0")) {
char *addr = addressmap_register_virtual_address(
strcmp(from,".") ? RESOLVED_TYPE_HOSTNAME : RESOLVED_TYPE_IPV4,
tor_strdup(to));
if (!addr) {
log_fn(LOG_WARN,
- "Unable to allocate address for '%s' in AdressMap msg", line);
+ "Unable to allocate address for '%s' in MapAddress msg",line);
} else {
size_t anslen = strlen(addr)+strlen(to)+2;
char *ans = tor_malloc(anslen);