OSSP CVS Repository

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

ossp-pkg/rc/rc_script.c 1.11 -> 1.12

--- rc_script.c  2002/08/02 20:09:59     1.11
+++ rc_script.c  2003/04/03 12:05:14     1.12
@@ -50,11 +50,11 @@
     return(pScript);
 }
 
-/************************************************
-* scriptAppend(rc_script_t *, char *, size_t)   *
-* Append text to a script                       *
-************************************************/
-rc_return_t scriptAppend(rc_script_t *pScript, char *szInbuf, size_t Size)
+/****************************************************
+* scriptAppend(rc_script_t *, const char *, size_t) *
+* Append text to a script                           *
+****************************************************/
+rc_return_t scriptAppend(rc_script_t *pScript, const char *szInbuf, size_t Size)
 {
     int nResize     = 0;
     void *pvRealloc = NULL;
@@ -171,6 +171,8 @@
         piLabstart = piBlocend + *(pnVec + 2);
         nLabsize   = *(pnVec + 3) - *(pnVec + 2);
 
+fprintf(stderr, "Substring we want ist %s!\n", kszSecname);
+fprintf(stderr, "Compared with ist %s!\n", piLabstart);
         /* Test the substring. If it matches our label, make a new section */
         if (!strncmp(piLabstart, kszSecname, nLabsize)) {
             /* Handle the section body */

CVSTrac 2.0.1