diff options
author | Jakub Jelen <jjelen@redhat.com> | 2020-04-20 18:43:01 +0200 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2020-04-26 21:35:13 +0100 |
commit | 9d352ecdaf8ccf446c7e1c9706cb7329b5647f9d (patch) | |
tree | 396e6d29a0e4e26f2c9441dc724cbc55a7dddf7c /src | |
parent | aebeee08e245d630c0d5e4e85a8678702aa96347 (diff) |
vcard_emul_nss: Do not use const char for something changable
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vcard_emul_nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcard_emul_nss.c b/src/vcard_emul_nss.c index a22aa41..0a86546 100644 --- a/src/vcard_emul_nss.c +++ b/src/vcard_emul_nss.c @@ -90,7 +90,7 @@ struct VCardEmulOptionsStruct { VirtualReaderOptions *vreader; int vreader_count; VCardEmulType hw_card_type; - const char *hw_type_params; + char *hw_type_params; int use_hw; }; @@ -869,7 +869,7 @@ static const VCardEmulOptions default_options = { .vreader = NULL, .vreader_count = 0, .hw_card_type = VCARD_EMUL_CAC, - .hw_type_params = "", + .hw_type_params = NULL, .use_hw = USE_HW_YES, }; |