This fixes an issue parsing the section of a certain HP
driver inf file:
PrintProcessor=%PRINT_PROCESSOR%
where %PRINT_PROCESSOR% is a [Strings] substituted value,
gp_inifile_getstring_ext() performs the substitution correctly.
Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
return NT_STATUS_NO_MEMORY;
}
- status = gp_inifile_getstring(ctx, key, &s);
+ status = gp_inifile_getstring_ext(ctx, key, &s);
if (NT_STATUS_IS_OK(status)) {
s = get_string_unquote(s);