diff options
author | Tim Potter <tpot@samba.org> | 1999-06-13 04:27:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-06-13 04:27:57 +0000 |
commit | 0132160229c6c49de590b7f5bd267f687bab23d6 (patch) | |
tree | 63fbd19285f0bd67218ce9bd5fd3512958d2ad7f /source3 | |
parent | 74e19e5b81e7ca0d0bea0829893d0f2b55a592cb (diff) | |
download | samba-0132160229c6c49de590b7f5bd267f687bab23d6.tar.gz samba-0132160229c6c49de590b7f5bd267f687bab23d6.tar.bz2 samba-0132160229c6c49de590b7f5bd267f687bab23d6.zip |
Return a (void *)0 instead of NULL in readdir64() wrapper.
(This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbwrapper/wrapped.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c index 0a8158dd05..4703614d64 100644 --- a/source3/smbwrapper/wrapped.c +++ b/source3/smbwrapper/wrapped.c @@ -687,7 +687,7 @@ static double xx[70]; void *d; d = (void *)readdir(dir); - if (!d) return NULL; + if (!d) return (void *)0; dirent64_convert(d, xx); return xx; } @@ -699,4 +699,3 @@ { return smbw_fork(); } - |