diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:29:00 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:29:00 +0000 |
commit | ed12657e772d78e65dc34236de3d866067b5f1f6 (patch) | |
tree | 7af74ec9894415c537ed23f1f406472200fe209d /source3/passdb | |
parent | 4f6e82c669da87680c5125a480ad80fd9db74c14 (diff) | |
download | samba-ed12657e772d78e65dc34236de3d866067b5f1f6.tar.gz samba-ed12657e772d78e65dc34236de3d866067b5f1f6.tar.bz2 samba-ed12657e772d78e65dc34236de3d866067b5f1f6.zip |
Fix number of arguments to asprintf()
(This used to be commit 5e4e6a6ed08f1b4fe97bbd91f983039143cc9939)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_mysql.c b/source3/passdb/pdb_mysql.c index 4e91994418..ca1c239d73 100644 --- a/source3/passdb/pdb_mysql.c +++ b/source3/passdb/pdb_mysql.c @@ -442,7 +442,7 @@ static NTSTATUS mysqlsam_select_by_field(struct pdb_methods * methods, SAM_ACCOU } asprintf(&query, - "SELECT %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s FROM %s WHERE %s = '%s'", + "SELECT %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s FROM %s WHERE %s = '%s'", config_value_read(data, "logon time column", CONFIG_LOGON_TIME_DEFAULT), config_value_read(data, "logoff time column", |