aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-07 23:11:29 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-07 23:11:29 +0000
commitfc9c6e7c95ea2c8e8583e5fbbf02b5618fdb54ce (patch)
treeec115ebd2aff55767f78a4ce8a03f0f6a2ef85af /src
parentf9c85c4d1cfc1db35b89aed5fadee14f5192f444 (diff)
downloadtor-fc9c6e7c95ea2c8e8583e5fbbf02b5618fdb54ce.tar
tor-fc9c6e7c95ea2c8e8583e5fbbf02b5618fdb54ce.tar.gz
Fix compile errors
svn:r2708
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 60bf8c491..1502557a1 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -212,8 +212,8 @@ handle_control_setconf(connection_t *conn, uint16_t len, char *body)
if ((r=config_trial_assign(&options, lines, 1)) < 0) {
log_fn(LOG_WARN,"Controller gave us config lines that didn't validate.");
- if (e==-1) {
- send_control_error(conn, ERR_UNRECOGNNIZED_CONFIG_KEY,
+ if (r==-1) {
+ send_control_error(conn, ERR_UNRECOGNIZED_CONFIG_KEY,
"Unrecognized option");
} else {
send_control_error(conn, ERR_INVALID_CONFIG_VALUE,"Invalid option value");