res-search-test-shouldnt-use-res-close-20030915

FIXES 2099

res_close() not part of generally accepted resolver api
This commit is contained in:
Jeffrey Hutzelman 2003-09-15 22:31:01 +00:00 committed by Derrick Brashear
parent 387f83d8d8
commit ea4a465aa4

View File

@ -15,7 +15,6 @@ res_init();
*/ */
r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans)); r = res_search( host, C_IN, T_MX, (u_char *)&ans, sizeof(ans));
return 0; return 0;
res_close();
], ],
ac_cv_func_res_search=yes) ac_cv_func_res_search=yes)
]) ])