oops, parm points to the first char, not to a pointer to the string.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2730 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
1475978af5
commit
dce7d0024c
@ -679,7 +679,7 @@ static int write_type(scconf_context * config, scconf_block * block, scconf_entr
|
||||
break;
|
||||
case SCCONF_STRING:
|
||||
if (parm) {
|
||||
const char *val = *(const char *) parm;
|
||||
const char *val = (const char *) parm;
|
||||
|
||||
scconf_put_str(block, entry->name, val);
|
||||
if (entry->flags & SCCONF_VERBOSE) {
|
||||
|
Loading…
Reference in New Issue
Block a user