summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_hash.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-02-01 00:28:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:29 -0500
commit784adfbcbb7f3e85b81b3df5a5c8823663bac8d5 (patch)
tree3c083a392d79976b9972be87d8f1b07ef6e43059 /source3/smbd/notify_hash.c
parentf35a9c5af6226b2292dbb49b9c20bf6b4d5f3bdc (diff)
downloadsamba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.gz
samba-784adfbcbb7f3e85b81b3df5a5c8823663bac8d5.tar.bz2
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/notify_hash.c')
-rw-r--r--source3/smbd/notify_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_hash.c b/source3/smbd/notify_hash.c
index 80e8fee54a..d7cb1139dc 100644
--- a/source3/smbd/notify_hash.c
+++ b/source3/smbd/notify_hash.c
@@ -44,7 +44,7 @@ static BOOL notify_hash(connection_struct *conn, char *path, uint32 flags,
const char *fname;
size_t remaining_len;
size_t fullname_len;
- void *dp;
+ struct smb_Dir *dp;
long offset;
ZERO_STRUCTP(data);