diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-11-30 17:47:04 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-11-30 17:47:37 +0100 |
commit | 31e54bdc8551fa5c9984311341fcbd05938eca9d (patch) | |
tree | 1f6a024b8f0b53fff95bdc0160d26fc3996d0893 /kms/client/kms_client.c | |
parent | f9e067b82874266c501bdeb847611cae0a28163d (diff) |
Allow both hevc and h265 (as alias)
Diffstat (limited to 'kms/client/kms_client.c')
-rw-r--r-- | kms/client/kms_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c index 75b1e8a..0ea7cab 100644 --- a/kms/client/kms_client.c +++ b/kms/client/kms_client.c @@ -199,7 +199,7 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path) { } else { cap_t kms_server_cap = cap_get_file(server_filepath); if(kms_server_cap) { - cap_flag_value_t res = 0; + cap_flag_value_t res = CAP_CLEAR; cap_get_flag(kms_server_cap, CAP_SYS_ADMIN, CAP_PERMITTED, &res); if(res == CAP_SET) { //fprintf(stderr, "has permission!\n"); |