mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	DNS: Fix doxygen comments.
Change-Id: Icafea3fb4ea64ac027561b23cbfe2b17997dc549
This commit is contained in:
		| @@ -117,6 +117,14 @@ int ast_dns_query_set_add(struct ast_dns_query_set *query_set, const char *name, | ||||
| 		return -1; | ||||
| 	} | ||||
|  | ||||
| 	/* | ||||
| 	 * We are intentionally passing NULL for the user data even | ||||
| 	 * though dns_query_set_callback() is not NULL tolerant.  Doing | ||||
| 	 * this avoids a circular reference chain until the queries are | ||||
| 	 * started.  ast_dns_query_set_resolve_async() will set the | ||||
| 	 * query user_data for us later when we actually kick off the | ||||
| 	 * queries. | ||||
| 	 */ | ||||
| 	query.query = dns_query_alloc(name, rr_type, rr_class, dns_query_set_callback, NULL); | ||||
| 	if (!query.query) { | ||||
| 		return -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user