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

Diff for /src/usr.bin/rdist/lookup.c between version 1.4 and 1.5

version 1.4, 1996/06/26 05:38:13 version 1.5, 1996/07/11 11:57:09
Line 138 
Line 138 
   
         debugmsg(DM_CALL, "lookup(%s, %d, %x)", name, action, value);          debugmsg(DM_CALL, "lookup(%s, %d, %x)", name, action, value);
   
           if (strlen(name) > sizeof(ebuf)-12)
                   yyerror("name is too long");
         n = 0;          n = 0;
         for (cp = name; *cp; )          for (cp = name; *cp; )
                 n += *cp++;                  n += *cp++;

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