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:
aj 2005-12-05 22:09:28 +00:00
parent 1475978af5
commit dce7d0024c

View File

@ -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) {