diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-20 10:25:05 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-12-20 13:13:17 +0100 |
commit | 75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26 (patch) | |
tree | 7ee5efbbd0777798d86d585a65316b1d23b2608c /source3/smbd | |
parent | d0ab0a4cee7da9019ef3fc4655de79de3a5716cf (diff) | |
download | samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.tar.gz samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.tar.bz2 samba-75d3b9ce08c964b9425a1b8a43ccaaa7a3f0aa26.zip |
s3: Fix some False/NULL hickups
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/dir.c | 2 | ||||
-rw-r--r-- | source3/smbd/ntquotas.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 63a7887f3e..d8e26f6912 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -201,7 +201,7 @@ static struct dptr_struct *dptr_get(struct smbd_server_connection *sconn, dptr->wcard, dptr->attr))) { DEBUG(4,("dptr_get: Failed to open %s (%s)\n",dptr->path, strerror(errno))); - return False; + return NULL; } } DLIST_PROMOTE(sconn->searches.dirptrs,dptr); diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c index 1f4fc2d0a2..147f95adf3 100644 --- a/source3/smbd/ntquotas.c +++ b/source3/smbd/ntquotas.c @@ -239,7 +239,7 @@ void *init_quota_handle(TALLOC_CTX *mem_ctx) SMB_NTQUOTA_HANDLE *qt_handle; if (!mem_ctx) - return False; + return NULL; qt_handle = talloc_zero(mem_ctx,SMB_NTQUOTA_HANDLE); if (qt_handle==NULL) { |