forked from mirrors/tftp-hpa-google
remap: re-enable in autoconf; fix missing pointer assignment
Need to actually output something, too. The whole section for remap had gotten dropped from autoconf, with the obvious results... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
9a92dec1dc
commit
33ec23c0dc
2 changed files with 11 additions and 3 deletions
|
@ -185,7 +185,7 @@ static int genmatchstring(char **string, const char *pattern,
|
|||
|
||||
len = do_genmatchstring(NULL, pattern, ibuf, pmatch,
|
||||
macrosub, start, NULL);
|
||||
buf = tf_malloc(len + 1);
|
||||
*string = buf = tf_malloc(len + 1);
|
||||
return do_genmatchstring(buf, pattern, ibuf, pmatch,
|
||||
macrosub, start, nextp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue