ossp-pkg/rc/rc_script.c 1.8 -> 1.9
--- rc_script.c 2002/07/30 16:36:41 1.8
+++ rc_script.c 2002/08/01 13:25:32 1.9
@@ -156,8 +156,8 @@
/* Test the substring. If it matches our label, generate a subscript */
if (!strncmp(piLabstart, kszSecname, nLabsize)) {
- piStart = piBlocend + *(pnVec + 4);
- piEnd = piBlocend + *(pnVec + 5);
+ piStart = piBlocend + *(pnVec + 6);
+ piEnd = piBlocend + *(pnVec + 7);
szTempout = malloc(piEnd - piStart + sizeof(char));
strncpy(szTempout, piStart, piEnd - piStart);
*(szTempout + (piEnd - piStart)) = NULL; /* Terminate outgoing */
|
|