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

Diff for /src/usr.bin/pmdb/Attic/clit.c between version 1.5 and 1.6

version 1.5, 2003/10/31 08:47:31 version 1.6, 2007/09/02 15:19:33
Line 186 
Line 186 
   
         stop = 0;          stop = 0;
   
         if ((argv = malloc(sizeof(char *) * maxargs)) == NULL)          if ((argv = calloc(sizeof(char *), maxargs)) == NULL)
                 err(1, "malloc");                  err(1, "malloc");
   
         while (!stop && (elline = el_gets(el, &cnt)) != NULL) {          while (!stop && (elline = el_gets(el, &cnt)) != NULL) {

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