Commit ea398d3e authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

result code was not always being set on failure

parent 0caadaea
......@@ -117,6 +117,7 @@
*/
#define FAILC(code, msg) \
do { \
result = (code); \
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
"dynamic update failed: %s (%s)", \
msg, isc_result_totext(code)); \
......@@ -128,6 +129,7 @@
*/
#define FAILS(code, msg) \
do { \
result = (code); \
isc_log_write(UPDATE_PROTOCOL_LOGARGS, \
"dynamic update error: %s: %s", \
msg, isc_result_totext(code)); \
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: xfrout.c,v 1.22 1999/10/29 23:54:37 gson Exp $ */
/* $Id: xfrout.c,v 1.23 1999/11/02 19:17:39 gson Exp $ */
#include <config.h>
......@@ -76,6 +76,7 @@
*/
#define FAILC(code, msg) \
do { \
result = (code); \
isc_log_write(XFROUT_PROTOCOL_LOGARGS, \
"bad zone transfer request: %s (%s)", \
msg, isc_result_totext(code)); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment