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
  • recvattach.c

    r5348 r5443  
    255255           
    256256          strfcpy (path, aptr->content->filename, sizeof (path)); 
    257           mutt_pretty_mailbox (path); 
     257          mutt_pretty_mailbox (path, sizeof (path)); 
    258258          mutt_format_s (dest, destlen, prefix, path); 
    259259        }