Re: [Live-devel] SIPClient

2011-09-21 Thread Ross Finlayson
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

[Live-devel] SIPClient

2011-09-21 Thread Dmitriy Vasil'ev
Hello, SIPClient.cpp, line 500 if (sscanf(lineStart, "Content-Length: %d", &contentLength) == 1 || sscanf(lineStart, "Content-Length: %d", &contentLength) == 1) { Is this bug? May be: if (sscanf(lineStart, "Content-Length: %d", &contentLength) == 1 || sscanf(lineStart, "Content-Length: