mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
--
This commit is contained in:
parent
a3a2844282
commit
e8445152e3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user