Added auth_cfg option to select XAUTH backend to use

This commit is contained in:
Martin Willi
2012-03-20 17:31:15 +01:00
parent 89afbe58bb
commit 6ebcbc654c
3 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -234,8 +234,8 @@ char* plugin_feature_get_string(plugin_feature_t *feature)
break;
case FEATURE_XAUTH_SERVER:
case FEATURE_XAUTH_PEER:
if (asprintf(&str, "%N:%N", plugin_feature_names, feature->type,
xauth_method_type_short_names, feature->arg.xauth) > 0)
if (asprintf(&str, "%N:%s", plugin_feature_names, feature->type,
feature->arg.xauth) > 0)
{
return str;
}