OSSP CVS Repository

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

ossp-pkg/rc/rc_script.c 1.14 -> 1.15

--- rc_script.c  2003/05/14 16:36:28     1.14
+++ rc_script.c  2003/05/15 22:22:30     1.15
@@ -189,13 +189,12 @@
             piSubtemp = strnstr(piStart, RC_DEF_PRG, piEnd - piStart);
             if (piSubtemp) { /* Priority pattern found */
 /* FIXME: Remove the 1 in the following line! */
-                nPri = strtol(piSubtemp + strlen(RC_DEF_PRG) + 1, (char **)NULL, 10);
+                nPri = strtol(piSubtemp + strlen(RC_DEF_PRG), (char **)NULL, 10);
                 sectionSetpri(pSec, nPri);
             }
             else /* Fallback to default value */
                 sectionSetpri(pSec, RC_DEF_PRI);
 
-/*fprintf(stderr, "nPri ist %d!\n", pSec->nPri);*/
             /* Handle the section userid   */
             return(pSec);   /* Section found, so return the text */
         }

CVSTrac 2.0.1