Changeset 1269:b6184cf644a0 for browser.c
Legend:
- Unmodified
- Added
- Removed
-
browser.c
r1224 r1269 171 171 #ifdef USE_IMAP 172 172 if (mx_is_imap (folder->ff->name)) 173 strfcpy (fn, folder->ff->desc, sizeof (fn));173 strfcpy (fn, NONULL(folder->ff->desc), sizeof (fn)); 174 174 else 175 175 #endif … … 303 303 const char *name, const struct stat *s, int new) 304 304 { 305 char buffer[_POSIX_PATH_MAX + SHORT_STRING];306 307 305 if (state->entrylen == state->entrymax) 308 306 { … … 326 324 (state->entry)[state->entrylen].is_new = new; 327 325 (state->entry)[state->entrylen].name = safe_strdup (name); 328 (state->entry)[state->entrylen].desc = safe_strdup ( buffer);326 (state->entry)[state->entrylen].desc = safe_strdup (name); 329 327 #ifdef USE_IMAP 330 328 (state->entry)[state->entrylen].notfolder = 0;
