bugfix for intarrays.
This commit is contained in:
parent
6015d22852
commit
8bed7c3cf9
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue