Changeset 5443:8b783c916893 for mbox.c

Show
Ignore:
Timestamp:
2008-07-02 02:19:14 (5 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Use realpath() in mutt_pretty_mailbox() for paths that may need it.
This requires to add the buffer size as parameter since the result may
be longer than the original but still fit in the buffer. Closes #2948.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mbox.c

    r5422 r5443  
    957957    mutt_unblock_signals (); 
    958958    mx_fastclose_mailbox (ctx); 
    959     mutt_pretty_mailbox (savefile); 
     959    mutt_pretty_mailbox (savefile, sizeof (savefile)); 
    960960    mutt_error (_("Write failed!  Saved partial mailbox to %s"), savefile); 
    961961    mutt_sleep (5);