OSSP CVS Repository

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

ossp-pkg/rc/rc_script.c 1.25 -> 1.26

--- rc_script.c  2003/05/27 13:14:08     1.25
+++ rc_script.c  2003/05/27 15:09:09     1.26
@@ -216,7 +216,7 @@
             piSubtemp = strstr(szTemp, RC_DEF_PRG);
             if (piSubtemp) { /* Priority pattern found */
                 for (nTmp = (int)piSubtemp + strlen(RC_DEF_PRG);\
-                    isspace(*(char *)nTmp); nTmp += sizeof (char)); /* Strip */
+                    isspace(nTmp); nTmp += sizeof (char)); /* Strip */
                 nPri = strtol((char *)nTmp, &piSep, 10);
                 if ((char *)nTmp == piSep)  /* No priority number follows */
                     sectionSetpri(pSec, RC_DEF_PRI); /* which is an error */
@@ -230,7 +230,7 @@
             piSubtemp = strstr(szTemp, RC_DEF_UIG);
             if (piSubtemp) { /* Userid pattern found */
                 for (nTmp = (int)piSubtemp + strlen(RC_DEF_UIG); \
-                    isspace(*(char *)nTmp); nTmp += sizeof (char)); /* Strip */
+                    isspace(nTmp); nTmp += sizeof (char)); /* Strip */
                 nUid = strtol((char *)nTmp, &piSep, 10);
                 if ((char *)nTmp == piSep)      /* No userid number follows */
                 {

CVSTrac 2.0.1