tweak for picky compiler

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8671 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-05-26 18:11:00 +00:00
parent 1a2131deb8
commit 09390e7005

View File

@ -162,13 +162,13 @@ static abyss_bool http_directory_auth(TSession *r, char *domain_name)
p = RequestHeaderValue(r, "authorization");
if (p) {
NextToken((const char **)&p);
NextToken((const char ** const)&p);
x = GetToken(&p);
if (x) {
if (!strcasecmp(x, "basic")) {
NextToken((const char **)&p);
NextToken((const char ** const)&p);
switch_b64_decode(p, user, sizeof(user));
if ((pass = strchr(user, ':'))) {
*pass++ = '\0';