Commit ad4546d7 ad4546d7c1245e2e5eb3fc8d94e7fcff518ddd15 by Sergey Poznyakoff

(mail_folders): Protect directory name with quotes.

1 parent 680a69f2
...@@ -48,7 +48,7 @@ mail_folders (int argc, char **argv) ...@@ -48,7 +48,7 @@ mail_folders (int argc, char **argv)
48 48
49 path = util_fullpath (path); 49 path = util_fullpath (path);
50 50
51 util_do_command("! %s %s", getenv ("LISTER"), path); 51 util_do_command("! %s '%s'", getenv ("LISTER"), path);
52 free(path); 52 free(path);
53 53
54 return 0; 54 return 0;
......