On 2024/11/14 8:12, Stephen Hemminger wrote:
> There was useless loop when looking at the DMA address.
> It looks like it was meant to skip whitespace before
> calling strtok.
>
> Good time to replace strtok with strtok_r as well.
Incomplete modification for strtok, I suggest the strtok adopt Hai
On Thu, 14 Nov 2024 08:00:52 +0100
Morten Brørup wrote:
> > + while (*addrs == '\0' && isspace(*addrs))
> > addrs++;
>
> This is never going to happen. Did you mean ||?
Good catch.
> + while (*addrs == '\0' && isspace(*addrs))
> addrs++;
This is never going to happen. Did you mean ||?
3 matches
Mail list logo