From 09f970b514d9896c57d958515fca1299c03bc3ea Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 2 Mar 2012 15:04:12 -0500 Subject: conv: Fix typo causing bad output. --- proxy/src/gp_conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy/src') diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c index 7eca8b5..e568f5e 100644 --- a/proxy/src/gp_conv.c +++ b/proxy/src/gp_conv.c @@ -322,7 +322,7 @@ int gp_conv_err_to_gssx_string(uint32_t status, int type, gss_OID oid, } } while (msg_ctx); - ret_str->utf8string_len = strlen(str + 1); + ret_str->utf8string_len = strlen(str) + 1; ret_str->utf8string_val = str; ret = 0; -- cgit