[or-cvs] Miscellaneous bug fixes / activated "make check" for src/or

montrose at seul.org montrose at seul.org
Tue Jul 9 19:51:43 UTC 2002


Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/tmp/cvs-serv4792/src/or

Modified Files:
	Makefile.am config.c 
Log Message:
Miscellaneous bug fixes / activated "make check" for src/or


Index: Makefile.am
===================================================================
RCS file: /home/or/cvsroot/src/or/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	2 Jul 2002 09:36:58 -0000	1.3
+++ Makefile.am	9 Jul 2002 19:51:41 -0000	1.4
@@ -1,4 +1,8 @@
 
+TESTS = test_config
+
+noinst_PROGRAMS = test_config
+
 bin_PROGRAMS = or
 
 or_LDADD = -L../common -lor
@@ -6,6 +10,10 @@
 or_SOURCES = args.c buffers.c cell.c circuit.c command.c connection.c \
              connection_exit.c connection_ap.c connection_op.c connection_or.c config.c \
              main.c onion.c routers.c
+
+test_config_SOURCES = test_config.c
+
+test_config_LDADD = config.o -L../common -lor
 
 noinst_HEADERS = or.h
 

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- config.c	3 Jul 2002 19:58:18 -0000	1.4
+++ config.c	9 Jul 2002 19:51:41 -0000	1.5
@@ -8,6 +8,9 @@
 /*
  * Changes :
  * $Log$
+ * Revision 1.5  2002/07/09 19:51:41  montrose
+ * Miscellaneous bug fixes / activated "make check" for src/or
+ *
  * Revision 1.4  2002/07/03 19:58:18  montrose
  * minor bug fix in error checking
  *
@@ -117,10 +120,10 @@
    case -1:
       if ( Verbose )                      /* display options upon user request */
       {
-         printf("\nLogLevel=%s\n",options->LogLevel);
+         printf("LogLevel=%s\n",options->LogLevel);
          printf("RouterFile=%s, PrivateKeyFile=%s\n",options->RouterFile,options->PrivateKeyFile);
          printf("ORPort=%d, OPPort=%d, APPort=%d\n",options->ORPort,options->OPPort,options->APPort);
-         printf("CoinWeight=%6.4f, MaxConn=%d, TrafficShaping=%d\n\n",options->CoinWeight,options->MaxConn,options->TrafficShaping);
+         printf("CoinWeight=%6.4f, MaxConn=%d, TrafficShaping=%d\n",options->CoinWeight,options->MaxConn,options->TrafficShaping);
       }
       code = 0;
       break;



More information about the tor-commits mailing list