This commit is contained in:
cora32 2015-03-10 19:46:14 +03:00
parent e051fea5da
commit 837821df6c

View File

@ -270,10 +270,10 @@ char *_getAttributeValue(char *str, char *val, char *ip, int port)
if(ptrStart != NULL) if(ptrStart != NULL)
{ {
if(strstri(ptrStart, "qop=auth") != NULL) return "auth"; if(strstri(ptrStart, "qop=auth") != NULL) return "auth";
// ptrS1End = _findFirst(ptrStart, "\""); ptrS1End = _findFirst(ptrStart, "\"");
if(ptrS1End != NULL) if(ptrS1End != NULL)
{ {
// ptrS2End = _findFirst(ptrS1End + 1, "\""); ptrS2End = _findFirst(ptrS1End + 1, "\"");
if(ptrS2End != NULL) if(ptrS2End != NULL)
{ {
int sz = ptrS2End - ptrS1End - 1; int sz = ptrS2End - ptrS1End - 1;