TODO: Added a todo for refactoring TOKEN::Match

This commit is contained in:
Daniel Marjamäki 2008-12-06 13:21:33 +00:00
parent 7196b8a028
commit 202c613e70
1 changed files with 3 additions and 2 deletions

View File

@ -135,8 +135,9 @@ bool TOKEN::Match(const TOKEN *tok, const char pattern[], const char *varname1[]
while ( *p == ' ' )
p++;
// Extract token from pattern..
char str[50];
// Extract token from pattern..
// TODO: Refactor this so there can't be buffer overflows
char str[500];
char *s = str;
while (*p && *p!=' ')
{