Guest User

Untitled

a guest
Jan 19th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. diff -ur a/a/lib.c b/b/lib.c
  2. --- a/a/lib.c
  3. +++ b/b/lib.c
  4. @@ -705,7 +705,7 @@ void mutt_sanitize_filename (char *f, short slash)
  5.  
  6. for (; *f; f++)
  7. {
  8. - if ((slash && *f == '/'))
  9. + if (slash && *f == '/') || (*f == ' ')
  10. *f = '_';
  11. }
  12. }
Add Comment
Please, Sign In to add comment