parent
93db2e5f8e
commit
d19728bcb2
|
@ -2280,7 +2280,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
|
||||||
s = (char *)e_user_homedir_get();
|
s = (char *)e_user_homedir_get();
|
||||||
PRT("%s%s", s, path);
|
PRT("%s%s", s, path);
|
||||||
}
|
}
|
||||||
else if (dev && (dev[0] == '/'))
|
else if ((dev) && (dev[0] == '/'))
|
||||||
{
|
{
|
||||||
/* dev is a full path - consider it a mountpoint device on its own */
|
/* dev is a full path - consider it a mountpoint device on its own */
|
||||||
PRT("%s%s", dev, path);
|
PRT("%s%s", dev, path);
|
||||||
|
@ -2344,7 +2344,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
|
||||||
/* FIXME: add code for finding nfs shares, smb shares etc. */
|
/* FIXME: add code for finding nfs shares, smb shares etc. */
|
||||||
/* maybe make part of the device mappings config? */
|
/* maybe make part of the device mappings config? */
|
||||||
|
|
||||||
if (!strlen (buf)) snprintf(buf, sizeof(buf), "%s", path);
|
if (!strlen(buf)) snprintf(buf, sizeof(buf), "%s", path);
|
||||||
|
|
||||||
/* strip out excess multiple slashes */
|
/* strip out excess multiple slashes */
|
||||||
s = buf;
|
s = buf;
|
||||||
|
|
Loading…
Reference in New Issue