OSSP CVS Repository

ossp - Check-in [3333]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3333
Date: 2003-May-12 18:17:47 (local)
2003-May-12 16:17:47 (UTC)
User:ms
Branch:
Comment: Bug fix before starting again with user and priority parsing and exec efforts.
Tickets:
Inspections:
Files:
ossp-pkg/rc/rc_proc.c      1.19 -> 1.20     2 inserted, 2 deleted

ossp-pkg/rc/rc_proc.c 1.19 -> 1.20

--- rc_proc.c    2003/05/12 15:43:32     1.19
+++ rc_proc.c    2003/05/12 16:17:47     1.20
@@ -143,8 +143,8 @@
             /* Append config section if it exists */
             pSec = scriptSection(pTempscript, configGetval(RC_NCF_VAL));
             if (pSec) { /* Only operate if the section lookup succeeds */
-                scriptAppend(ppParts[nIter], sectionGetdata(pSec), strlen(sectionGetdata(pSec)));
-                scriptAppend(ppParts[nIter], "\n", sizeof(char));
+                scriptAppend(pRc->m_pScript, sectionGetdata(pSec), strlen(sectionGetdata(pSec)));
+                scriptAppend(pRc->m_pScript, "\n", sizeof(char));
                 sectionDelete(pSec);    /* Cleanup */
                 pSec = NULL;            /* Cleanup */
             }

CVSTrac 2.0.1