one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a

variable instead of a constant.
This commit is contained in:
David Lawrence 2000-05-24 21:41:14 +00:00
parent 826c281a05
commit 553727079c

View file

@ -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)