|
From: | E. Weddington |
Subject: | Re: [avr-libc-dev] sscanf |
Date: | Fri, 12 Aug 2005 08:06:27 -0600 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Darcy Watkins wrote:
Please fill out a bug tracker on the avr-libc project in Savannah. That way this issue won't get lost.Hi, r = sscanf(response, "HTTP/1.%*d %03d", &ret); returns 2 when parsing "HTTP/1.1 234" when it should return 1 The return value should be the number of fields assigned (and not count those with assignment suppressed). This behaviour is observed in both the minimalist and floating scanf libraries.
Thanks Eric
[Prev in Thread] | Current Thread | [Next in Thread] |