[asterisk-commits] mmichelson: branch group/dns_naptr r433198 - /team/group/dns_naptr/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 19 18:27:46 CDT 2015
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
More information about the asterisk-commits
mailing list