Minor fix for SIP authentication

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 23 years ago
parent ada0d0504c
commit 2685819181

@ -2984,6 +2984,7 @@ static int check_auth(struct sip_pvt *p, struct sip_request *req, char *randdata
char resp_hash[256];
char tmp[256] = "";
char *c;
char *z;
char *response ="";
char *resp_uri ="";
@ -3021,7 +3022,7 @@ static int check_auth(struct sip_pvt *p, struct sip_request *req, char *randdata
}
} else
c = strchr(c, ',');
if ((z = strchr(c,' ')) || (z = strchr(c,','))) c=z;
if (c)
c++;
}

Loading…
Cancel
Save