commit | 5a5d292b6b7d5723bf387f43890432fdb9d2e961 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Sat Aug 15 15:34:36 2020 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Sat Aug 15 15:34:36 2020 +0200 |
tree | 73da25f8c426879f11292144aa8135c070694f76 | |
parent | 6b0dbc699e2327ce05106c1041687034ab1eccc7 [diff] [blame] |
context BUGFIX name of parameter in error message from ly_ctx_unset_searchdir()
diff --git a/src/context.c b/src/context.c index e7b4773..05cbf07 100644 --- a/src/context.c +++ b/src/context.c
@@ -176,7 +176,7 @@ } if (index >= ctx->search_paths.count) { - LOGARG(ctx, value); + LOGARG(ctx, index); return LY_EINVAL; } else { return ly_set_rm_index(&ctx->search_paths, index, free);