chiark / gitweb /
Another error fix.
[tripe] / tripe.c
diff --git a/tripe.c b/tripe.c
index 0d44382f34e8e8aee6b65bdd1eddf75722af8b13..33a97b7cc98b9e6c91c77fd34f4d7bfd491359b9 100644 (file)
--- a/tripe.c
+++ b/tripe.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: tripe.c,v 1.5 2001/02/16 21:43:12 mdw Exp $
+ * $Id: tripe.c,v 1.8 2002/01/13 17:28:29 mdw Exp $
  *
  * Main program
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: tripe.c,v $
+ * Revision 1.8  2002/01/13 17:28:29  mdw
+ * Don't turn tracing on if tracing is turned off (!).
+ *
+ * Revision 1.7  2002/01/13 17:14:05  mdw
+ * Don't include the tracing option in the help if not compiled in.
+ *
+ * Revision 1.6  2001/06/19 22:08:37  mdw
+ * Moved buffers to peer.c.
+ *
  * Revision 1.5  2001/02/16 21:43:12  mdw
  * Provide a more helpful usage message.
  *
@@ -53,7 +62,6 @@
 /*----- Global variables --------------------------------------------------*/
 
 sel_state sel;
-octet buf_i[PKBUFSZ], buf_o[PKBUFSZ], buf_t[PKBUFSZ];
 
 /*----- Static variables --------------------------------------------------*/
 
@@ -123,7 +131,9 @@ Options:\n\
 -K, --pub-keyring=FILE Get public keys from FILE.\n\
 -t, --tag=KEYTAG       Use private key labelled TAG.\n\
 -a, --admin-socket=FILE        Use FILE as the adminstration socket.\n\
+" T( "\
 -T, --trace=OPTIONS    Turn on tracing options.\n\
+" ) "\
 ", fp);
 }
 
@@ -143,7 +153,7 @@ int main(int argc, char *argv[])
 #define f_daemon 2u
 
   ego(argv[0]);
-  trace_on(stderr, 0);
+  T( trace_on(stderr, 0); )
 
   if ((p = getenv("TRIPEDIR")) != 0)
     dir = p;