| diff --git a/plugins/gssapi.c b/plugins/gssapi.c |
| index 70a4157..7eb88d2 100644 |
| |
| |
| @@ -1267,7 +1267,7 @@ gssapi_server_mech_step(void *conn_context, |
| |
| if (text == NULL) return SASL_BADPROT; |
| |
| - params->utils->log(NULL, SASL_LOG_DEBUG, |
| + params->utils->log(params->utils->conn, SASL_LOG_DEBUG, |
| "GSSAPI server step %d\n", text->state); |
| |
| switch (text->state) { |
| @@ -1293,7 +1293,7 @@ gssapi_server_mech_step(void *conn_context, |
| break; |
| |
| default: |
| - params->utils->log(NULL, SASL_LOG_ERR, |
| + params->utils->log(params->utils->conn, SASL_LOG_ERR, |
| "Invalid GSSAPI server step %d\n", text->state); |
| return SASL_FAIL; |
| } |
| @@ -1499,7 +1499,7 @@ static int gssapi_client_mech_step(void *conn_context, |
| *clientout = NULL; |
| *clientoutlen = 0; |
| |
| - params->utils->log(NULL, SASL_LOG_DEBUG, |
| + params->utils->log(params->utils->conn, SASL_LOG_DEBUG, |
| "GSSAPI client step %d", text->state); |
| |
| switch (text->state) { |
| @@ -1992,7 +1992,7 @@ static int gssapi_client_mech_step(void *conn_context, |
| } |
| |
| default: |
| - params->utils->log(NULL, SASL_LOG_ERR, |
| + params->utils->log(params->utils->conn, SASL_LOG_ERR, |
| "Invalid GSSAPI client step %d\n", text->state); |
| return SASL_FAIL; |
| } |