[asterisk-commits] mmichelson: branch group/dns r432478 - /team/group/dns/tests/test_dns.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 4 17:05:14 CST 2015


Author: mmichelson
Date: Wed Mar  4 17:05:13 2015
New Revision: 432478

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432478
Log:
Fix logic error where test is registered on module unload instead of unregistered.

Modified:
    team/group/dns/tests/test_dns.c

Modified: team/group/dns/tests/test_dns.c
URL: http://svnview.digium.com/svn/asterisk/team/group/dns/tests/test_dns.c?view=diff&rev=432478&r1=432477&r2=432478
==============================================================================
--- team/group/dns/tests/test_dns.c (original)
+++ team/group/dns/tests/test_dns.c Wed Mar  4 17:05:13 2015
@@ -609,7 +609,7 @@
 	AST_TEST_UNREGISTER(resolver_set_result);
 	AST_TEST_UNREGISTER(resolver_set_result_off_nominal);
 	AST_TEST_UNREGISTER(resolver_add_record);
-	AST_TEST_REGISTER(resolver_add_record_off_nominal);
+	AST_TEST_UNREGISTER(resolver_add_record_off_nominal);
 
 	return 0;
 }




More information about the asterisk-commits mailing list