r131: *** empty log message ***
[ctsim.git] / src / pjrec.cpp
index 0a2b2c84ae47bf65d7debc251f9839774b04229f..782563cb1dd76d40a48bf0003b6427ae9fc1e4b9 100644 (file)
@@ -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);
          }