From e47075e7716e2d310354da9a7cc070b52dba410d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 1 Apr 2006 09:54:54 +0000 Subject: [PATCH] more helpful error message svn:r6283 --- src/or/control.c | 4 ++-- 1 file 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 "