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 */
}
|
|