diff options
Diffstat (limited to 'source3/passdb/smbpassgroup.c')
-rw-r--r-- | source3/passdb/smbpassgroup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c index 9454becc99..f3a0d4244b 100644 --- a/source3/passdb/smbpassgroup.c +++ b/source3/passdb/smbpassgroup.c @@ -77,9 +77,8 @@ static struct smb_passwd *getsmbfilegrpent(void *vp, static pstring user_name; struct passwd *pwfile; pstring linebuf; - unsigned char *p; + char *p; int uidval; - size_t linebuf_len; if (vp == NULL) { @@ -92,7 +91,7 @@ static struct smb_passwd *getsmbfilegrpent(void *vp, /* * Scan the file, a line at a time. */ - while ((linebuf_len = getfileline(vp, linebuf, sizeof(linebuf))) > 0) + while (getfileline(vp, linebuf, sizeof(linebuf)) > 0) { /* * The line we have should be of the form :- |