Correct client_prefix so it returns 1 if in prefix, not 0.

pull/2589/head
nicm 2021-02-24 09:22:15 +00:00
parent 6d8efe9319
commit 6aaef3e705
1 changed files with 2 additions and 2 deletions

View File

@ -1319,8 +1319,8 @@ format_cb_client_prefix(struct format_tree *ft)
if (ft->c != NULL) {
name = server_client_get_key_table(ft->c);
if (strcmp(ft->c->keytable->name, name) == 0)
return (xstrdup("1"));
return (xstrdup("0"));
return (xstrdup("0"));
return (xstrdup("1"));
}
return (NULL);
}