X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fpjrec.cpp;fp=src%2Fpjrec.cpp;h=782563cb1dd76d40a48bf0003b6427ae9fc1e4b9;hb=03c4bc505de131323cbc70a70bdceda9229269bf;hp=0a2b2c84ae47bf65d7debc251f9839774b04229f;hpb=534cfbea401b6f802a6efb9a70b2c3a49dc76b13;p=ctsim.git diff --git a/src/pjrec.cpp b/src/pjrec.cpp index 0a2b2c8..782563c 100644 --- a/src/pjrec.cpp +++ b/src/pjrec.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: pjrec.cpp,v 1.5 2000/07/04 18:33:35 kevin Exp $ +** $Id: pjrec.cpp,v 1.6 2000/07/04 22:21:01 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -170,7 +170,7 @@ pjrec_main (int argc, char * argv[]) optDebug = 1; break; case O_TRACE: - if ((optTrace = opt_set_trace(optarg)) < 0) { + if ((optTrace = convertTraceNameToID(optarg)) == TRACE_INVALID) { pjrec_usage(argv[0]); return (1); }