mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 14:02:05 -04:00
missing omapi_value_getregion before region was printed in ndc_signalhandler
This commit is contained in:
parent
386fef57fa
commit
6e033f89d4
1 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rndc.c,v 1.3 2000/02/01 15:17:25 tale Exp $ */
|
||||
/* $Id: rndc.c,v 1.4 2000/02/01 19:01:02 tale Exp $ */
|
||||
|
||||
/*
|
||||
* Principal Author: DCL
|
||||
|
|
@ -169,9 +169,11 @@ ndc_signalhandler(omapi_object_t *handle, const char *name, va_list ap) {
|
|||
progname, isc_result_totext(ndc->waitresult));
|
||||
|
||||
tv = va_arg(ap, omapi_value_t *);
|
||||
if (tv != NULL)
|
||||
if (tv != NULL) {
|
||||
omapi_value_getregion(tv, ®ion);
|
||||
fprintf(stderr, " (%.*s)",
|
||||
(int)region.length, region.base);
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue