[BACK]Return to strtab.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/Attic/strtab.c between version 1.3 and 1.4

version 1.3, 2005/03/29 15:04:45 version 1.4, 2005/04/06 03:27:54
Line 75 
Line 75 
 {  {
         struct cvs_str *csp;          struct cvs_str *csp;
   
         if ((csp = cvs_strtab_lookup(s)) == NULL)          if ((csp = cvs_strtab_lookup(s)) == NULL) {
                 csp = cvs_strtab_insert(s);                  if ((csp = cvs_strtab_insert(s)) == NULL)
         else                          return (NULL);
           } else {
                 csp->cs_ref++;                  csp->cs_ref++;
           }
   
         return (csp->cs_str);          return (csp->cs_str);
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4