summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-09 15:21:42 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-09 15:21:42 +0000
commit24f2e0cc3e8e67bea5f4fb9227768f06ae2ea476 (patch)
treec617f71cca6ae8998130eacf0c9790236c0c2135 /source3/passdb
parent42f763e6f0d0f270190da91343207ca9fae58506 (diff)
downloadsamba-24f2e0cc3e8e67bea5f4fb9227768f06ae2ea476.tar.gz
samba-24f2e0cc3e8e67bea5f4fb9227768f06ae2ea476.tar.bz2
samba-24f2e0cc3e8e67bea5f4fb9227768f06ae2ea476.zip
And another build fix.
Volker (This used to be commit 6c78a096a5c4a8ae21e846505f6ac2df826d5cbd)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index fde51c508f..3e86f05eae 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -479,10 +479,10 @@ char *pdb_encode_acct_ctrl(uint16 acct_ctrl, size_t length)
{
static fstring acct_str;
- SMB_ASSERT(length <= sizeof(acct_str));
-
size_t i = 0;
+ SMB_ASSERT(length <= sizeof(acct_str));
+
acct_str[i++] = '[';
if (acct_ctrl & ACB_PWNOTREQ ) acct_str[i++] = 'N';