summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-29 20:24:17 +0000
committerJeremy Allison <jra@samba.org>1998-09-29 20:24:17 +0000
commite570db46fc3a78e499523fd342e9a34cebb18998 (patch)
treec20e50e033368800e155fa5147756fb254023009 /source/smbd/ipc.c
parentb40a4e6385757cb8a44044a1437651954d6b1c90 (diff)
downloadsamba-e570db46fc3a78e499523fd342e9a34cebb18998.tar.gz
samba-e570db46fc3a78e499523fd342e9a34cebb18998.tar.xz
samba-e570db46fc3a78e499523fd342e9a34cebb18998.zip
Got very strict about the differences and uses of
uid_t, gid_t and vuid. Added sys_getgroups() to get around the int * return problem. Set correct datatypes for all uid, gid and vuid variables. Jeremy.
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index ec126c89ff4..db6ee62f918 100644
--- a/source/smbd/ipc.c
+++ b/source/smbd/ipc.c
@@ -2383,7 +2383,7 @@ static BOOL api_RNetUserGetInfo(connection_struct *conn,uint16 vuid, char *param
Don't depend on vuser being non-null !!. JRA */
user_struct *vuser = get_valid_user_struct(vuid);
if(vuser != NULL)
- DEBUG(3,(" Username of UID %d is %s\n", vuser->uid, vuser->name));
+ DEBUG(3,(" Username of UID %d is %s\n", (int)vuser->uid, vuser->name));
*rparam_len = 6;
*rparam = REALLOC(*rparam,*rparam_len);