summaryrefslogtreecommitdiffstats
path: root/proxy/src
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src')
-rw-r--r--proxy/src/gp_conv.c2
1 files changed, 1 insertions, 1 deletions
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;