** 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
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);
}