From 873e9405afd40c5cb1e491d8976591b36c489366 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 9 Aug 2017 09:04:15 +0200 Subject: [PATCH] netfs_setup: align smb-mounts to new automount-syntax Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b9c285018c3ad10626805d0c56dc5032ed8def85 Author: vanhofen Date: 2017-08-09 (Wed, 09 Aug 2017) Origin message was: ------------------ - netfs_setup: align smb-mounts to new automount-syntax ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/netfs_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/netfs_setup.cpp b/src/gui/netfs_setup.cpp index 26d041258..37ef77e8c 100644 --- a/src/gui/netfs_setup.cpp +++ b/src/gui/netfs_setup.cpp @@ -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'; }