diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-08-11 13:26:54 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-08-24 01:05:48 +0200 |
commit | a6e215f221b1ed71eba2f313fb0102647d84f854 (patch) | |
tree | 2eab1e74c75821e27de72d299f1e35a4744bdf5a /plugin/cracklib_password_check | |
parent | d5a6bae7c0bbef9963b73b064bec3ae1e47ec45c (diff) | |
download | mariadb-git-a6e215f221b1ed71eba2f313fb0102647d84f854.tar.gz |
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.
Diffstat (limited to 'plugin/cracklib_password_check')
-rw-r--r-- | plugin/cracklib_password_check/cracklib_password_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cracklib_password_check/cracklib_password_check.c b/plugin/cracklib_password_check/cracklib_password_check.c index d4c3aba5b77..1fea9899ca1 100644 --- a/plugin/cracklib_password_check/cracklib_password_check.c +++ b/plugin/cracklib_password_check/cracklib_password_check.c @@ -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; |