OSSP CVS Repository

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

ossp-pkg/rc/rc_opt.c 1.3 -> 1.4

--- rc_opt.c     2002/04/11 16:52:45     1.3
+++ rc_opt.c     2002/04/24 16:47:07     1.4
@@ -78,21 +78,21 @@
 * optSetXXXX(rc_opt_t *, const char *) *
 * Option accessors                     *
 ***************************************/
-rc_return_t optSetname(rc_opt_t *pOption, const char *cszName)
+rc_return_t optSetname(rc_opt_t *pOption, const char *kszName)
 {
     if (pOption->szName)                        /* Guard against leaks  */
         free(pOption->szName);                  /* if resetting name    */
-    if (!(pOption->szName = strdup(cszName)))   /* Set name of option   */
+    if (!(pOption->szName = strdup(kszName)))   /* Set name of option   */
         return(RC_THROW(RC_ERR_MEM));
     else
         return(RC_THROW(RC_OK));
 }
 
-rc_return_t optSetval(rc_opt_t *pOption, const char *cszVal)
+rc_return_t optSetval(rc_opt_t *pOption, const char *kszVal)
 {
     if (pOption->szVal)                         /* Guard against leaks  */
         free(pOption->szVal);                   /* if resetting value   */
-    if (!(pOption->szVal = strdup(cszVal)))     /* Set value of option  */
+    if (!(pOption->szVal = strdup(kszVal)))     /* Set value of option  */
         return(RC_THROW(RC_ERR_MEM));
     else
         return(RC_THROW(RC_OK));

CVSTrac 2.0.1