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

Diff for /src/usr.bin/mg/echo.c between version 1.56 and 1.57

version 1.56, 2014/03/20 07:47:29 version 1.57, 2014/11/16 04:16:41
Line 711 
Line 711 
          * Now do the display.  Objects are written into linebuf until           * Now do the display.  Objects are written into linebuf until
          * it fills, and then put into the help buffer.           * it fills, and then put into the help buffer.
          */           */
         linesize = MAX(ncol, maxwidth) + 1;          linesize = (ncol > maxwidth ? ncol : maxwidth) + 1;
         if ((linebuf = malloc(linesize)) == NULL) {          if ((linebuf = malloc(linesize)) == NULL) {
                 free_file_list(wholelist);                  free_file_list(wholelist);
                 return (FALSE);                  return (FALSE);

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57