quiet HP/UX and Solaris compilers by testing "result" variable (as opposed to
"code" constant) against ISC_R_SUCCESS in FAILC() and FAILS() macros.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
isc_log_write(NOTIFY_PROTOCOL_LOGARGS, \
|
||||
"notify failed: %s (%s)", \
|
||||
msg, isc_result_totext(code)); \
|
||||
if (code != ISC_R_SUCCESS) goto failure; \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
@@ -107,7 +107,7 @@
|
||||
isc_log_write(NOTIFY_PROTOCOL_LOGARGS, \
|
||||
"notify error: %s: %s", \
|
||||
msg, isc_result_totext(code)); \
|
||||
if (code != ISC_R_SUCCESS) goto failure; \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
|
||||
"dynamic update failed: %s (%s)", \
|
||||
msg, isc_result_totext(code)); \
|
||||
if (code != ISC_R_SUCCESS) goto failure; \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
@@ -125,7 +125,7 @@
|
||||
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
|
||||
"dynamic update error: %s: %s", \
|
||||
msg, isc_result_totext(code)); \
|
||||
if (code != ISC_R_SUCCESS) goto failure; \
|
||||
if (result != ISC_R_SUCCESS) goto failure; \
|
||||
} while (0)
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user