From: Nick Mathewson Date: Sun, 7 Nov 2004 23:11:29 +0000 (+0000) Subject: Fix compile errors X-Git-Tag: debian-version-0.0.8+0.0.9pre5-1~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc9c6e7c95ea2c8e8583e5fbbf02b5618fdb54ce;p=thirdparty%2Ftor.git Fix compile errors svn:r2708 --- diff --git a/src/or/control.c b/src/or/control.c index 60bf8c491f..1502557a14 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");