OSSP CVS Repository

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

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