netfs_setup: align smb-mounts to new automount-syntax

Origin commit data
------------------
Commit: b9c285018c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-09 (Wed, 09 Aug 2017)

Origin message was:
------------------
- netfs_setup: align smb-mounts to new automount-syntax
This commit is contained in:
vanhofen
2017-08-09 09:04:15 +02:00
parent bdd2d9ae3f
commit ad105085c2

View File

@@ -337,7 +337,7 @@ int CNETFSMountGui::write_config(int mt)
<< g_settings.netfs[mt][i].options1
<< (g_settings.netfs[mt][i].options2.empty() ? "" : ",")
<< g_settings.netfs[mt][i].options2 << '\t' << '\t'
<< "//" << ((g_settings.netfs[mt][i].ip.empty()) ? "0.0.0.0" : g_settings.netfs[mt][i].ip)
<< "://" << ((g_settings.netfs[mt][i].ip.empty()) ? "0.0.0.0" : g_settings.netfs[mt][i].ip)
<< (((!g_settings.netfs[mt][i].dir.empty()) && g_settings.netfs[mt][i].dir[0]!='/') ? "/" : "")
<< ((g_settings.netfs[mt][i].dir.empty()) ? "netfsDir" : g_settings.netfs[mt][i].dir) << '\n';
}