mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-02 21:40:43 -05:00
one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a
variable instead of a constant.
This commit is contained in:
parent
826c281a05
commit
553727079c
1 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@
|
|||
#define FAIL(code) \
|
||||
do { \
|
||||
result = (code); \
|
||||
if (code != ISC_R_SUCCESS) goto failure; \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
result = (code); \
|
||||
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
|
||||
"dynamic update failed: %s (%s)", \
|
||||
msg, isc_result_totext(code)); \
|
||||
msg, isc_result_totext(result)); \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
result = (code); \
|
||||
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
|
||||
"dynamic update error: %s: %s", \
|
||||
msg, isc_result_totext(code)); \
|
||||
msg, isc_result_totext(result)); \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue