diff options
author | Roger Dingledine <arma@torproject.org> | 2006-04-01 09:54:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-04-01 09:54:54 +0000 |
commit | e47075e7716e2d310354da9a7cc070b52dba410d (patch) | |
tree | f362f030144f24ef7c21a81983fb441000329238 /src | |
parent | 314f24870dc9e150a69bb6e98c3962469b75ed1e (diff) | |
download | tor-e47075e7716e2d310354da9a7cc070b52dba410d.tar.gz tor-e47075e7716e2d310354da9a7cc070b52dba410d.zip |
more helpful error message
svn:r6283
Diffstat (limited to 'src')
-rw-r--r-- | src/or/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c index 67cb029307..6357ce9eaf 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1230,8 +1230,8 @@ handle_control_mapaddress(connection_t *conn, uint32_t len, const char *body) if (!v0) { size_t anslen = strlen(line)+256; char *ans = tor_malloc(anslen); - tor_snprintf(ans, anslen, - "512-syntax error: mapping '%s' has wrong number of items.", line); + tor_snprintf(ans, anslen, "512-syntax error: mapping '%s' is " + "not of expected form 'foo=bar'.", line); smartlist_add(reply, ans); } log_info(LD_CONTROL, "Skipping MapAddress '%s': wrong " |