mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
Fix number of arguments to asprintf()
This commit is contained in:
parent
3df125fd50
commit
5e4e6a6ed0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user