OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc.c versions 1.36 and 1.37
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc.c 1.36 -> 1.37

--- rc.c 2002/06/28 18:23:10     1.36
+++ rc.c 2002/07/01 15:03:32     1.37
@@ -39,10 +39,8 @@
 void rcError(ex_t Localerr)
 {
     if (FAILED((rc_return_t)Localerr.ex_value)) { /* Error condition */
-        if ((rc_return_t)Localerr.ex_value == RC_WRN_TRM)
+        if ((rc_return_t)Localerr.ex_value == RC_ERR_TRM)
             exit(0);
-        else if ((rc_return_t)Localerr.ex_value == RC_ERR_USE)
-            clioptPrintusage();
         else if ((rc_return_t)Localerr.ex_value == RC_ERR_FNC)
             fprintf(stderr, "    Error condition, function file could not be opened.\n");
         else if ((rc_return_t)Localerr.ex_value == RC_ERR_DIR)

CVSTrac 2.0.1