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

Diff for /src/usr.bin/rdist/common.c between version 1.8 and 1.9

version 1.8, 1999/02/04 23:18:57 version 1.9, 1999/05/14 20:19:11
Line 944 
Line 944 
         char *nstr;          char *nstr;
   
         if ((nstr = strdup(str)) == NULL)          if ((nstr = strdup(str)) == NULL)
                 fatalerr("Cannot malloc %d bytes of memory.", strlen(str));                  fatalerr("Cannot malloc %d bytes of memory.", strlen(str) + 1);
   
         return(nstr);          return(nstr);
 }  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9