forked from mirrors/tftp-hpa-google
Fix macro substitution bug; some Makefile issues
This commit is contained in:
parent
60707444d7
commit
d849153191
3 changed files with 6 additions and 2 deletions
|
@ -78,6 +78,8 @@ static int genmatchstring(char *string, const char *pattern, const char *input,
|
|||
if ( macrosub &&
|
||||
(sublen = macrosub(macro, string)) >= 0 ) {
|
||||
len += sublen;
|
||||
if ( string )
|
||||
string += sublen;
|
||||
} else {
|
||||
len++;
|
||||
if ( string )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue