summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@hp.com>2008-02-18 10:21:17 +1100
committerGünther Deschner <gd@samba.org>2008-02-18 10:15:22 +0100
commit2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b (patch)
treea898f806d7e3c05fb42067628e7c727ab3774c52
parentd9a465b8df6b4a6ddfc24b792b57f50aa4ac1931 (diff)
downloadsamba-2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b.tar.gz
samba-2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b.tar.bz2
samba-2cd374db8d53cf9727da6c99a7fc48f4dd09fd4b.zip
Replace C++-style comments with C.
(This used to be commit a1d07469236c06b65f14a59a27d7f7abcb106b5e)
-rw-r--r--source3/client/smbmnt.c2
-rw-r--r--source3/rpc_server/srv_samr_nt.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index 198faca173..3d7de1b3c0 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -251,7 +251,7 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
return -1;
}
- data.uid = mount_uid; // truncates to 16-bits here!!!
+ data.uid = mount_uid; /* truncates to 16-bits here!!! */
data.gid = mount_gid;
data.file_mode = (S_IRWXU|S_IRWXG|S_IRWXO) & mount_fmask;
data.dir_mode = (S_IRWXU|S_IRWXG|S_IRWXO) & mount_dmask;
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 0db74c2a1b..df7bb9b206 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2535,10 +2535,10 @@ static NTSTATUS get_user_info_21(TALLOC_CTX *mem_ctx,
logon_hours,
pdb_get_bad_password_count(pw),
pdb_get_logon_count(pw),
- 0, //country_code,
- 0, //code_page,
- 0, //nt_password_set,
- 0, //lm_password_set,
+ 0, /* country_code */
+ 0, /* code_page */
+ 0, /* nt_password_set */
+ 0, /* lm_password_set */
password_expired);
TALLOC_FREE(pw);