Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  sasl_defs.c
2  sasl_defs.c
@@ -145,7 +145,7 @@ static int sasl_log(void *context, int level, const char *message)
145 145
146 146 static sasl_callback_t sasl_callbacks[] = {
147 147 #ifdef ENABLE_SASL_PWDB
148   - { SASL_CB_SERVER_USERDB_CHECKPASS, sasl_server_userdb_checkpass, NULL },
  148 + { SASL_CB_SERVER_USERDB_CHECKPASS, (sasl_callback_ft)sasl_server_userdb_checkpass, NULL },
149 149 #endif
150 150
151 151 { SASL_CB_LOG, (sasl_callback_ft)sasl_log, NULL },

0 comments on commit b4add04

Please sign in to comment.
Something went wrong with that request. Please try again.