qt: pass fmt to gpgrt_asprintf()
* lang/qt/src/dn.cpp (parse_dn_part): Add fmt argument instead of using name directly. GnuPG-Bug-Id: 3023 Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
This commit is contained in:
parent
f8a9ecc629
commit
5d4f977dac
@ -167,7 +167,7 @@ parse_dn_part(DnPair *array, const unsigned char *string)
|
||||
for (unsigned int i = 0; i < numOidMaps; ++i)
|
||||
if (!strcasecmp((char *)p, oidmap[i].oid)) {
|
||||
free(p);
|
||||
gpgrt_asprintf(&p, oidmap[i].name);
|
||||
gpgrt_asprintf(&p, "%s", oidmap[i].name);
|
||||
break;
|
||||
}
|
||||
array->key = p;
|
||||
|
Loading…
Reference in New Issue
Block a user