mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
Fix compilation warnings in plugins
* update cracklib_password_check to match the new prototype * cannot use __attribute__((format)) for my_snprintf, because we support format extensions that the compiler doesn't know about.
This commit is contained in:
parent
d5a6bae7c0
commit
a6e215f221
9 changed files with 23 additions and 43 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
static char *dictionary;
|
||||
|
||||
static int crackme(MYSQL_LEX_STRING *username, MYSQL_LEX_STRING *password)
|
||||
static int crackme(MYSQL_CONST_LEX_STRING *username, MYSQL_CONST_LEX_STRING *password)
|
||||
{
|
||||
char *user= alloca(username->length + 1);
|
||||
char *host;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue