Skip to content

Commit

Permalink
fix enable-sasl-pwdb
Browse files Browse the repository at this point in the history
* 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
Gabriel A. Samfira committed Sep 18, 2012
1 parent fa24ccf commit b4add04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sasl_defs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit b4add04

Please sign in to comment.