Changeset 5443:8b783c916893 for hook.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
  • hook.c

    r5099 r5443  
    427427      strfcpy (path, NONULL (Outbox), pathlen); 
    428428  } 
    429   mutt_pretty_mailbox (path); 
     429  mutt_pretty_mailbox (path, pathlen); 
    430430} 
    431431