curl-users
RE: http digest input parse fix
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 3 Aug 2004 09:13:41 +0200 (CEST)
Date: Tue, 3 Aug 2004 09:13:41 +0200 (CEST)
On Mon, 2 Aug 2004, Joel Chen wrote:
> That's quite right. I've failed to consider such case. So there may be
> other cases. A more sure method is to let scanf tell us where the next
> value pair starts using %n.
Actually, it isn't more "sure" since my method works fine. I don't normally
use %n with scanf() since there are known platforms/environments with broken
implementations of that.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-08-03