[or-cvs] Fix compile errors

Nick Mathewson nickm at seul.org
Sun Nov 7 23:11:31 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv2499/src/or

Modified Files:
	control.c 
Log Message:
Fix compile errors

Index: control.c
===================================================================
RCS file: /home/or/cvsroot/src/or/control.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- control.c	7 Nov 2004 22:58:35 -0000	1.12
+++ control.c	7 Nov 2004 23:11:29 -0000	1.13
@@ -212,8 +212,8 @@
 
   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");



More information about the tor-commits mailing list