OSSP CVS Repository

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

ossp-pkg/rc/rc_proc.c 1.37 -> 1.38

--- rc_proc.c    2003/05/26 16:24:08     1.37
+++ rc_proc.c    2003/05/27 13:00:22     1.38
@@ -251,7 +251,7 @@
         szTmpfile = malloc(nTmpname);
         strcpy(szTmpfile, configGetval(RC_TMP_VAL));
         if (*(szTmpfile + (strlen(szTmpfile) - 1) * sizeof(char)) != '/')
-            *(szTmpfile + (strlen(szTmpfile)) * sizeof(char)) = '/';
+            strcat(szTmpfile, "/");
         strcat(szTmpfile, RC_EVL_TMP);
         mktemp(szTmpfile);
         strcat(szTmpfile, RC_EVL_SUF);

CVSTrac 2.0.1