Fix typo
authorMark Spencer <markster@digium.com>
Fri, 10 Oct 2003 02:05:17 +0000 (02:05 +0000)
committerMark Spencer <markster@digium.com>
Fri, 10 Oct 2003 02:05:17 +0000 (02:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 26282a5..7fb4bdd 100755 (executable)
@@ -3553,7 +3553,7 @@ static int get_destination(struct sip_pvt *p, struct sip_request *oreq)
                strncpy(tmp, req->rlPart2, sizeof(tmp) - 1);
        c = ditch_braces(tmp);
        
-       strncpy(tmpf, get_header(oreq, "From"), sizeof(tmpf) - 1);
+       strncpy(tmpf, get_header(req, "From"), sizeof(tmpf) - 1);
        fr = ditch_braces(tmpf);
        
        if (fr && !strlen(fr))