mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 02:22:04 -04:00
macro style
This commit is contained in:
parent
9622173ccb
commit
28e2058c5f
1 changed files with 6 additions and 5 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: dst_api.c,v 1.85 2001/07/10 05:00:42 bwelling Exp $
|
||||
* $Id: dst_api.c,v 1.86 2001/07/10 05:12:43 bwelling Exp $
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
@ -87,10 +87,11 @@ static isc_result_t frombuffer(dns_name_t *name,
|
|||
isc_mem_t *mctx,
|
||||
dst_key_t **keyp);
|
||||
|
||||
#define RETERR(x) do { \
|
||||
result = (x); \
|
||||
if (result != ISC_R_SUCCESS) \
|
||||
goto out; \
|
||||
#define RETERR(x) \
|
||||
do { \
|
||||
result = (x); \
|
||||
if (result != ISC_R_SUCCESS) \
|
||||
goto out; \
|
||||
} while (0)
|
||||
|
||||
isc_result_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue