diff options
author | Jeremy Allison <jra@samba.org> | 2005-02-01 00:28:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:29 -0500 |
commit | 784adfbcbb7f3e85b81b3df5a5c8823663bac8d5 (patch) | |
tree | 3c083a392d79976b9972be87d8f1b07ef6e43059 /source3/smbd/filename.c | |
parent | f35a9c5af6226b2292dbb49b9c20bf6b4d5f3bdc (diff) | |
download | samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.gz samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.xz samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.zip |
r5152: Restructure the directory handling code, stop using void * pointers
that just allow the wrong pointer to be assigned :-) and make the
interface more consistent. Fix the FreeBSD directory problem. Last
thing to do is to add the "singleton" directory concept from James
Peach's code.
Jeremy.
(This used to be commit cfa8150fd9932470cb8f3b5e14c0156dda67125d)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index fa8ddfd6ca..9af73776eb 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -432,7 +432,7 @@ BOOL check_name(pstring name,connection_struct *conn) static BOOL scan_directory(connection_struct *conn, const char *path, char *name, size_t maxlength) { - void *cur_dir; + struct smb_Dir *cur_dir; const char *dname; BOOL mangled; long curpos; |