avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] sscanf


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:

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.


Please fill out a bug tracker on the avr-libc project in Savannah. That way this issue won't get lost.

Thanks
Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]