X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/2666d7dd1b8e3ba008125338c0d92495e26a6457..d360f042becf2ccaf3d242f793ae88df778207b0:/tripe.c diff --git a/tripe.c b/tripe.c index f85248c6..33a97b7c 100644 --- a/tripe.c +++ b/tripe.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tripe.c,v 1.6 2001/06/19 22:08:37 mdw Exp $ + * $Id: tripe.c,v 1.8 2002/01/13 17:28:29 mdw Exp $ * * Main program * @@ -29,6 +29,12 @@ /*----- 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. * @@ -125,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); } @@ -145,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;