need to add to the pointer, not the pointee

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3403 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-11-18 16:37:25 +00:00
parent 4f2824e371
commit b0dde8deb9
1 changed files with 1 additions and 1 deletions

View File

@ -4161,7 +4161,7 @@ static void sip_r_register(int status,
qrealm = duprealm;
while(*qrealm && *qrealm == '"') {
*qrealm++;
qrealm++;
}
if ((p = strchr(qrealm, '"'))) {
*p = '\0';