summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-04 01:59:24 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-04 01:59:24 +0000
commitb8cbd9181efabbc360ef335e214a696011839b41 (patch)
treebd04a54c0f90d0c5877a6fc839c6eefc2c1f931f /source4
parentcdd782782fc9a69ab53570c080cd00189a619542 (diff)
downloadsamba-b8cbd9181efabbc360ef335e214a696011839b41.tar.gz
samba-b8cbd9181efabbc360ef335e214a696011839b41.tar.bz2
samba-b8cbd9181efabbc360ef335e214a696011839b41.zip
don't use c++ comments
(This used to be commit 3d48fa8f37a510959c8958b5c025c7f19f632c54)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/cmdline/popt_common.c6
-rw-r--r--source4/lib/popt_common.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 8a6cce7e5b..3c9a5eb231 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -236,8 +236,10 @@ static void get_credentials_file(const char *file, struct user_auth_info *info)
}
else if (strwicmp("username", param) == 0)
pstrcpy(info->username, val);
- //else if (strwicmp("domain", param) == 0)
- // set_global_myworkgroup(val);
+#if 0
+ else if (strwicmp("domain", param) == 0)
+ set_global_myworkgroup(val);
+#endif
memset(buf, 0, sizeof(buf));
}
x_fclose(auth);
diff --git a/source4/lib/popt_common.c b/source4/lib/popt_common.c
index 8a6cce7e5b..3c9a5eb231 100644
--- a/source4/lib/popt_common.c
+++ b/source4/lib/popt_common.c
@@ -236,8 +236,10 @@ static void get_credentials_file(const char *file, struct user_auth_info *info)
}
else if (strwicmp("username", param) == 0)
pstrcpy(info->username, val);
- //else if (strwicmp("domain", param) == 0)
- // set_global_myworkgroup(val);
+#if 0
+ else if (strwicmp("domain", param) == 0)
+ set_global_myworkgroup(val);
+#endif
memset(buf, 0, sizeof(buf));
}
x_fclose(auth);