summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 13:56:59 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-11-21 13:56:59 +0100
commit4bc81e47c03e13c217337a17937636e1d5b507f7 (patch)
tree26e3a1c4854d806269c32cf31f6deaf5ed9b8633
parentd739ed0e2ecd8eab1bdf4d30b5fd40faba4c0533 (diff)
fm: really strip out multiple slashes
Fixes T161, T328, T412
-rw-r--r--src/bin/e_fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index cf7529b3b..16ddd2f4e 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -3331,7 +3331,7 @@ _e_fm2_dev_path_map(E_Fm2_Smart_Data *sd, const char *dev, const char *path)
3331 s = buf; 3331 s = buf;
3332 while (*s) 3332 while (*s)
3333 { 3333 {
3334 if ((s[0] == '/') && (s[1] == '/')) 3334 while ((s[0] == '/') && (s[1] == '/'))
3335 { 3335 {
3336 ss = s; 3336 ss = s;
3337 do 3337 do