mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix compile errors
svn:r2708
This commit is contained in:
parent
f9c85c4d1c
commit
fc9c6e7c95
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user