Author: mmichelson Date: Thu Mar 19 18:27:37 2015 New Revision: 433198 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433198 Log: Remove another if check covered by an assertion.
Modified: team/group/dns_naptr/main/dns_core.c Modified: team/group/dns_naptr/main/dns_core.c URL: http://svnview.digium.com/svn/asterisk/team/group/dns_naptr/main/dns_core.c?view=diff&rev=433198&r1=433197&r2=433198 ============================================================================== --- team/group/dns_naptr/main/dns_core.c (original) +++ team/group/dns_naptr/main/dns_core.c Thu Mar 19 18:27:37 2015 @@ -461,11 +461,6 @@ */ while (1) { naptr_offset = memchr(naptr_search_base, data[0], remaining_size); - /* Couldn't find first byte of NAPTR record */ - if (!naptr_offset) { - ast_log(LOG_NOTICE, "Failed to find NAPTR record within answer\n"); - return NULL; - } /* Since the NAPTR record we have been given came from the DNS answer, * we should never run into a situation where we can't find ourself -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits