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

Diff for /src/usr.bin/ssh/monitor.c between version 1.17 and 1.18

version 1.17, 2002/06/22 23:09:51 version 1.18, 2002/06/26 13:20:57
Line 1418 
Line 1418 
 void *  void *
 mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)  mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)
 {  {
           int len = size * ncount;
         void *address;          void *address;
   
         address = mm_malloc(mm, size * ncount);          if (len <= 0)
                   fatal("%s: mm_zalloc(%u, %u)", __func__, ncount, size);
   
           address = mm_malloc(mm, len);
   
         return (address);          return (address);
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18