Browse Source

r14246@tombo: nickm | 2008-02-17 19:33:02 -0500
Fix a wide line in control.c; make the check-spaces target ignore the openbsd malloc file.


svn:r13566

Nick Mathewson 16 years ago
parent
commit
8c6b5d6640
2 changed files with 3 additions and 2 deletions
  1. 1 1
      Makefile.am
  2. 2 1
      src/or/control.c

+ 1 - 1
Makefile.am

@@ -65,7 +65,7 @@ test:
 check-spaces:
 	./contrib/checkSpace.pl -C                    \
 	        src/common/*.h                        \
-		src/common/[^as]*.c                   \
+		src/common/[^asO]*.c                  \
 		src/or/[^et]*.[ch] src/or/t*.c src/or/eventdns_tor.h
 
 check-docs:

+ 2 - 1
src/or/control.c

@@ -1064,7 +1064,8 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
     }
   }
 
-  if (options->HashedControlPassword || options->HashedControlSessionPassword) {
+  if (options->HashedControlPassword ||
+      options->HashedControlSessionPassword) {
     int bad = 0;
     smartlist_t *sl_tmp;
     char received[DIGEST_LEN];