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:
parent
4f2824e371
commit
b0dde8deb9
|
@ -4161,7 +4161,7 @@ static void sip_r_register(int status,
|
||||||
qrealm = duprealm;
|
qrealm = duprealm;
|
||||||
|
|
||||||
while(*qrealm && *qrealm == '"') {
|
while(*qrealm && *qrealm == '"') {
|
||||||
*qrealm++;
|
qrealm++;
|
||||||
}
|
}
|
||||||
if ((p = strchr(qrealm, '"'))) {
|
if ((p = strchr(qrealm, '"'))) {
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
|
|
Loading…
Reference in New Issue