mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
s/view->name/viewname/
This commit is contained in:
parent
3d65ba10e3
commit
0a19afabe8
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.481 2007/04/02 23:17:52 marka Exp $ */
|
/* $Id: server.c,v 1.482 2007/04/02 23:46:47 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -4869,12 +4869,14 @@ ns_server_flushcache(ns_server_t *server, char *args) {
|
|||||||
"flushing caches in all views succeeded");
|
"flushing caches in all views succeeded");
|
||||||
result = ISC_R_SUCCESS;
|
result = ISC_R_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
if (!found)
|
if (!found) {
|
||||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
|
||||||
NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
|
NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
|
||||||
"flushing cache in view '%s' failed: "
|
"flushing cache in view '%s' failed: "
|
||||||
"view not found", view->name);
|
"view not found", viewname);
|
||||||
result = ISC_R_FAILURE;
|
result = ISC_R_NOTFOUND;
|
||||||
|
} else
|
||||||
|
result = ISC_R_FAILURE;
|
||||||
}
|
}
|
||||||
isc_task_endexclusive(server->task);
|
isc_task_endexclusive(server->task);
|
||||||
return (result);
|
return (result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user