bugfix for intarrays.

This commit is contained in:
solomon 2002-11-19 13:48:55 +00:00
parent 6015d22852
commit 8bed7c3cf9
2 changed files with 7 additions and 6 deletions

View File

@ -42,6 +42,7 @@
*
* --------------------------------------------------------------------
-pre7
- Patch to fix int array mib manipulation. (Pavel Roskin)
- Minor improvements to the build system.
- Moved RX processing to a bottom half instead of hard irq context.
- Further script improvements: signal strength filtering, and some

View File

@ -1809,6 +1809,12 @@ void p80211_fromtext_intarray( catlistitem_t *metalist, UINT32 did, UINT8 *itemb
while (1) {
/*
** Quit if we now have all array elements.
*/
if (cnt >= meta->maxlen) break;
/*
** If we're not pointing at the delimiter, then something went
** wrong. Note that the first delimiter will be '=' and all
@ -1822,12 +1828,6 @@ void p80211_fromtext_intarray( catlistitem_t *metalist, UINT32 did, UINT8 *itemb
buf++;
buf += strspn(buf, " \t\n\r\f\v");
/*
** Quit if we now have all array elements.
*/
if (cnt >= meta->maxlen) break;
/*
** Get the next array element. Make sure that at least
** something was found (i.e. end != buf). Skip any trailing