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

Diff for /src/usr.bin/tmux/format.c between version 1.173 and 1.174

version 1.173, 2019/03/13 18:09:12 version 1.174, 2019/03/14 21:27:26
Line 1482 
Line 1482 
         if (fmt == NULL || *fmt == '\0')          if (fmt == NULL || *fmt == '\0')
                 return (xstrdup(""));                  return (xstrdup(""));
   
           if (t == 0)
                   t = time(NULL);
         tm = localtime(&t);          tm = localtime(&t);
   
         if (strftime(s, sizeof s, fmt, tm) == 0)          if (strftime(s, sizeof s, fmt, tm) == 0)

Legend:
Removed from v.1.173  
changed lines
  Added in v.1.174