diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-29 17:34:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:17 -0500 |
commit | e002300f238dd0937dd9f768e366c006945e8baa (patch) | |
tree | 87bc52b059c4331faac801876d4a567f08659d85 /source4/lib | |
parent | 1a4effad3d4c9d69a8aec4a7bb509c4dff309edb (diff) | |
download | samba-e002300f238dd0937dd9f768e366c006945e8baa.tar.gz samba-e002300f238dd0937dd9f768e366c006945e8baa.tar.bz2 samba-e002300f238dd0937dd9f768e366c006945e8baa.zip |
r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/samba3/share_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/samba3/share_info.c b/source4/lib/samba3/share_info.c index e96adfc175..318e0ff01f 100644 --- a/source4/lib/samba3/share_info.c +++ b/source4/lib/samba3/share_info.c @@ -61,10 +61,10 @@ NTSTATUS samba3_read_share_info(const char *fn, TALLOC_CTX *ctx, struct samba3 * struct samba3_share_info *share; char *name; - if (strncmp(kbuf.dptr, "SECDESC/", strlen("SECDESC/")) != 0) + if (strncmp((char *)kbuf.dptr, "SECDESC/", strlen("SECDESC/")) != 0) continue; - name = talloc_strndup(ctx, kbuf.dptr+strlen("SECDESC/"), kbuf.dsize-strlen("SECDESC/")); + name = talloc_strndup(ctx, (char *)kbuf.dptr+strlen("SECDESC/"), kbuf.dsize-strlen("SECDESC/")); db->shares = talloc_realloc(db, db->shares, struct samba3_share_info, db->share_count+1); share = &db->shares[db->share_count]; |