[asterisk-commits] mmichelson: branch group/dns r432508 - /team/group/dns/main/dns_core.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 5 14:13:01 CST 2015


Author: mmichelson
Date: Thu Mar  5 14:13:00 2015
New Revision: 432508

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432508
Log:
Reverse logic of assertion on query destruction.


Modified:
    team/group/dns/main/dns_core.c

Modified: team/group/dns/main/dns_core.c
URL: http://svnview.digium.com/svn/asterisk/team/group/dns/main/dns_core.c?view=diff&rev=432508&r1=432507&r2=432508
==============================================================================
--- team/group/dns/main/dns_core.c (original)
+++ team/group/dns/main/dns_core.c Thu Mar  5 14:13:00 2015
@@ -137,7 +137,7 @@
 	struct ast_dns_query *query = data;
 
 	ao2_cleanup(query->user_data);
-	ast_assert(query->resolver_data != NULL);
+	ast_assert(query->resolver_data == NULL);
 	ast_dns_result_free(query->result);
 }
 




More information about the asterisk-commits mailing list