From: Alan T. DeKok Date: Fri, 27 Sep 2019 17:15:33 +0000 (-0400) Subject: add "inst" and fix typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12ad69e36f4576ca0ce5209bce6d1cc0dfd0798;p=thirdparty%2Ffreeradius-server.git add "inst" and fix typo --- diff --git a/src/modules/rlm_mschap/rlm_mschap.c b/src/modules/rlm_mschap/rlm_mschap.c index 612413caf36..fa34e3325be 100644 --- a/src/modules/rlm_mschap/rlm_mschap.c +++ b/src/modules/rlm_mschap/rlm_mschap.c @@ -646,6 +646,7 @@ static int _mod_conn_free(struct wbcContext **wb_ctx) static void *mod_conn_create(TALLOC_CTX *ctx, UNUSED void *instance, UNUSED fr_time_delta_t timeout) { struct wbcContext **wb_ctx; + rlm_mschap_t const *inst = instance; wb_ctx = talloc_zero(ctx, struct wbcContext *); *wb_ctx = wbcCtxCreate(); @@ -1863,7 +1864,7 @@ static rlm_rcode_t CC_HINT(nonnull(1,2,3,4,7,8)) mschap_process_v2_response(int if (response_name) { if (strcmp(username_str, response_name->vp_strvalue)) { RDEBUG2("Normalising username %pV -> %pV", - fr_box_strvalue_len(username_str, username_len) + fr_box_strvalue_len(username_str, username_len), &response_name->data); username_str = response_name->vp_strvalue; }