mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Removed unused mutt_expand_link()

-26
-25
muttlib.c
··· 402 402 return 0; 403 403 } 404 404 405 - /* prepend the path part of *path to *link */ 406 - void mutt_expand_link (char *newpath, const char *path, const char *link) 407 - { 408 - const char *lb = NULL; 409 - size_t len; 410 - 411 - /* link is full path */ 412 - if (*link == '/') 413 - { 414 - strfcpy (newpath, link, _POSIX_PATH_MAX); 415 - return; 416 - } 417 - 418 - if ((lb = strrchr (path, '/')) == NULL) 419 - { 420 - /* no path in link */ 421 - strfcpy (newpath, link, _POSIX_PATH_MAX); 422 - return; 423 - } 424 - 425 - len = lb - path + 1; 426 - memcpy (newpath, path, len); 427 - strfcpy (newpath + len, link, _POSIX_PATH_MAX - len); 428 - } 429 - 430 405 char *mutt_expand_path (char *s, size_t slen) 431 406 { 432 407 return _mutt_expand_path (s, slen, 0);
-1
protos.h
··· 213 213 void mutt_expand_aliases_env (ENVELOPE *); 214 214 void mutt_expand_file_fmt (BUFFER *, const char *, const char *); 215 215 void mutt_expand_fmt (BUFFER *, const char *, const char *); 216 - void mutt_expand_link (char *, const char *, const char *); 217 216 void mutt_fix_reply_recipients (ENVELOPE *env); 218 217 void mutt_folder_hook (const char *); 219 218 void mutt_format_string (char *, size_t, int, int, int, char, const char *, size_t, int);