mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only. The prototype for cfg_obj_asstring() has been updated to reflect this. [RT #15256]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: cache.c,v 1.62 2005/08/15 01:21:05 marka Exp $ */
|
||||
/* $Id: cache.c,v 1.63 2005/08/23 02:36:09 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -443,7 +443,7 @@ dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dns_cache_setfilename(dns_cache_t *cache, char *filename) {
|
||||
dns_cache_setfilename(dns_cache_t *cache, const char *filename) {
|
||||
char *newname;
|
||||
|
||||
REQUIRE(VALID_CACHE(cache));
|
||||
|
Reference in New Issue
Block a user