fix erroneous removal of get_tok_size initialization to 0 in get_tok_value() (thanks to Joanne Low)
This commit is contained in:
parent
2d054898f0
commit
6210f60232
|
|
@ -469,8 +469,10 @@ const char *get_tok_value(const char *s,const char *tok, int with_quotes)
|
|||
my_free(976, &result);
|
||||
my_free(977, &token);
|
||||
size = sizetok = 0;
|
||||
xctx->get_tok_size = 0;
|
||||
return "";
|
||||
}
|
||||
xctx->get_tok_size = 0;
|
||||
/* dbg(2, "get_tok_value(): looking for <%s> in <%s>\n",tok,s); */
|
||||
if( size == 0 ) {
|
||||
sizetok = size = CADCHUNKALLOC;
|
||||
|
|
|
|||
Loading…
Reference in New Issue