summaryrefslogtreecommitdiff
path: root/source3/lib/account_pol.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-10 11:11:53 +0200
committerVolker Lendecke <vl@samba.org>2008-07-10 11:13:59 +0200
commitab976ae692bef8b374ea2c9da0839a64415ea51d (patch)
tree122e5afd0d15695c7f1c021ee9a1ded190cfcb43 /source3/lib/account_pol.c
parent516e381e090c2c4b7ad8eb924fcb246f8240114d (diff)
downloadsamba-ab976ae692bef8b374ea2c9da0839a64415ea51d.tar.gz
samba-ab976ae692bef8b374ea2c9da0839a64415ea51d.tar.bz2
samba-ab976ae692bef8b374ea2c9da0839a64415ea51d.zip
A brown paper bag bug fix for "net sam rights"
(This used to be commit 8a455b012827cfb917473a160c5710a90490451a)
Diffstat (limited to 'source3/lib/account_pol.c')
-rw-r--r--source3/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c
index 067f346883..e415d10d8e 100644
--- a/source3/lib/account_pol.c
+++ b/source3/lib/account_pol.c
@@ -442,7 +442,7 @@ bool cache_account_policy_get(int field, uint32 *value)
struct db_context *get_account_pol_db( void )
{
- if ( db != NULL ) {
+ if ( db == NULL ) {
if ( !init_account_policy() ) {
return NULL;
}