This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master in repository gssproxy.
commit b5d1a189da2037d87283eac8998af4bfb1aefa79 Author: Andrew Elble aweits@rit.edu Date: Wed Jun 1 12:40:39 2016 -0400
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 aweits@rit.edu Reviewed-by: Robbie Harwood rharwood@redhat.com --- proxy/src/gp_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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))) {