Fix typo
authorMark Spencer <markster@digium.com>
Thu, 13 Nov 2003 00:44:31 +0000 (00:44 +0000)
committerMark Spencer <markster@digium.com>
Thu, 13 Nov 2003 00:44:31 +0000 (00:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1733 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 339d2c4..a3b2778 100755 (executable)
@@ -3742,8 +3742,8 @@ static int get_refer_info(struct sip_pvt *p, struct sip_request *oreq)
                        if ((a = strchr(tmp5, ';'))) 
                                *a = '\0';
                        /* Skip leading whitespace */
-                       while(tmp[0] && (tmp[0] < 33))
-                               memmove(tmp, tmp+1, strlen(tmp));
+                       while(tmp5[0] && (tmp5[0] < 33))
+                               memmove(tmp5, tmp5+1, strlen(tmp5));
                                
                }
        }