diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:28:25 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 00:28:25 +0000 |
commit | 45ffe8c8165bbfb3c51949e156d6fdb04c6f281e (patch) | |
tree | 6a441aec2bbf7cb8057ebc75a4a974cc08097a32 /source3 | |
parent | d32e9ee6e11d97fc560f93bbfab20ec0f689a078 (diff) | |
download | samba-45ffe8c8165bbfb3c51949e156d6fdb04c6f281e.tar.gz samba-45ffe8c8165bbfb3c51949e156d6fdb04c6f281e.tar.bz2 samba-45ffe8c8165bbfb3c51949e156d6fdb04c6f281e.zip |
Fix number of arguments to asprintf()
(This used to be commit 42e76c312333c6e5b8feb2d687e3355235b0d4a0)
Diffstat (limited to 'source3')
-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", |