[Live-devel] SIPClient

Ross Finlayson finlayson at live555.com
Wed Sep 21 01:16:14 PDT 2011


Yes, it was a bug, but the code was actually supposed to be:

      if (sscanf(lineStart, "Content-Length: %d", &contentLength) == 1
          || sscanf(lineStart, "Content-length: %d", &contentLength) == 1) {

(Whitespace in the "sscanf()" format string matches any amount of whitespace, including none.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110921/6a207543/attachment.html>


More information about the live-devel mailing list