Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix enable-sasl-pwdb

* using --enable-sasl-pwdb will make the compile fail with:

sasl_defs.c:148:4: error: initialization from incompatible pointer type [-Werror]
  • Loading branch information...
commit b4add04487515cd12985f17b006bff83e3e5ea03 1 parent fa24ccf
Gabriel A. Samfira authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sasl_defs.c
2  sasl_defs.c
View
@@ -145,7 +145,7 @@ static int sasl_log(void *context, int level, const char *message)
static sasl_callback_t sasl_callbacks[] = {
#ifdef ENABLE_SASL_PWDB
- { SASL_CB_SERVER_USERDB_CHECKPASS, sasl_server_userdb_checkpass, NULL },
+ { SASL_CB_SERVER_USERDB_CHECKPASS, (sasl_callback_ft)sasl_server_userdb_checkpass, NULL },
#endif
{ SASL_CB_LOG, (sasl_callback_ft)sasl_log, NULL },
Please sign in to comment.
Something went wrong with that request. Please try again.