Show
Ignore:
Timestamp:
1999-09-23 14:07:34 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Try not to pass NULL pointers to snprintf - the Solaris version
doesn't like them. (Noted by Thomas.Parmelan@….)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • browser.c

    r1269 r1289  
    478478  if (state->imap_browse && option (OPTIMAPLSUB)) 
    479479    snprintf (title, titlelen, _("Subscribed [%s], File mask: %s"), 
    480               path, Mask.pattern); 
     480              path, NONULL (Mask.pattern)); 
    481481  else 
    482482#endif 
    483483    snprintf (title, titlelen, _("Directory [%s], File mask: %s"), 
    484               path, Mask.pattern); 
     484              path, NONULL(Mask.pattern)); 
    485485  } 
    486486  menu->redraw = REDRAW_FULL;