]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Fri, 9 Mar 2007 20:59:16 +0000 (20:59 +0000)
committerAutomerge Script <automerge@asterisk.org>
Fri, 9 Mar 2007 20:59:16 +0000 (20:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@58603 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a6caf0bea96d91da15662b87ca466e5f037bd767..8cda5a9bc64bda278408cd48451bfc70368cfbdc 100644 (file)
@@ -3705,6 +3705,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
                        hp = ast_gethostbyname(host, &ahp);
                        if (!hp) {
                                ast_log(LOG_WARNING, "Unable to lookup host in secondary c= line, '%s'\n", c);
+                               return -1;
                        }
                }
        }
@@ -3731,6 +3732,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
                        hp = ast_gethostbyname(host, &ahp);
                        if (!hp) {
                                ast_log(LOG_WARNING, "Unable to lookup host in secondary c= line, '%s'\n", c);
+                               return -1;
                        }
                }
        }