From b5d1a189da2037d87283eac8998af4bfb1aefa79 Mon Sep 17 00:00:00 2001 From: Andrew Elble Date: Wed, 1 Jun 2016 12:40:39 -0400 Subject: Fix typo in gp_get_export_creds_type() Should be EXP_CREDS_TYPE_OPTION, not EXP_CTX_TYPE_OPTION. Fixes: e155f81d84f7 ("Add helper to find options in rpc messages") Signed-off-by: Andrew Elble Reviewed-by: Robbie Harwood --- proxy/src/gp_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy/src') diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c index 3b9a23b..256e84a 100644 --- a/proxy/src/gp_export.c +++ b/proxy/src/gp_export.c @@ -663,7 +663,7 @@ int gp_get_export_creds_type(struct gssx_call_ctx *ctx) struct gssx_option *val = NULL; gp_options_find(val, ctx->options, - EXP_CTX_TYPE_OPTION, sizeof(EXP_CTX_TYPE_OPTION)); + EXP_CREDS_TYPE_OPTION, sizeof(EXP_CREDS_TYPE_OPTION)); if (val) { if (gp_option_value_match(val, LINUX_CREDS_V1, sizeof(LINUX_CREDS_V1))) { -- cgit