]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add "inst" and fix typo
authorAlan T. DeKok <aland@freeradius.org>
Fri, 27 Sep 2019 17:15:33 +0000 (13:15 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 27 Sep 2019 17:44:44 +0000 (13:44 -0400)
src/modules/rlm_mschap/rlm_mschap.c

index 612413caf365880759fb630c4b4081119d4eee9d..fa34e3325be9e20ef9ff0f6faac2c9e2e79f1964 100644 (file)
@@ -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;
                                }