diff options
author | Jim McDonough <jmcd@samba.org> | 2002-02-02 22:09:03 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-02-02 22:09:03 +0000 |
commit | de6dbff17711c5b516db8f70b67a74189de66758 (patch) | |
tree | 1a40cfef4ca1da0ded4803b57c262a340ee15cd6 | |
parent | 55b92fdebcddc14981c6eafbe98751b365a5e0ed (diff) | |
download | samba-de6dbff17711c5b516db8f70b67a74189de66758.tar.gz samba-de6dbff17711c5b516db8f70b67a74189de66758.tar.bz2 samba-de6dbff17711c5b516db8f70b67a74189de66758.zip |
Change ADS_ERROR family of macros - removed semicolon from the end, since they were only being used correctly in one location, and all other assumed the semicolon wasn't there. Amazing that none of them mattered syntactically, until today.
(This used to be commit 6515c3e8ef546975657e45fce7f147fe4a08e9ca)
-rw-r--r-- | source3/include/ads.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 57a41d13b5..343f505f8b 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -86,10 +86,10 @@ typedef struct { } ADS_STATUS; /* macros to simplify error returning */ -#define ADS_ERROR(rc) ads_build_error(ADS_ERROR_LDAP, rc, 0); -#define ADS_ERROR_SYSTEM(rc) ads_build_error(ADS_ERROR_SYSTEM, rc, 0); -#define ADS_ERROR_KRB5(rc) ads_build_error(ADS_ERROR_KRB5, rc, 0); -#define ADS_ERROR_GSS(rc, minor) ads_build_error(ADS_ERROR_GSS, rc, minor); +#define ADS_ERROR(rc) ads_build_error(ADS_ERROR_LDAP, rc, 0) +#define ADS_ERROR_SYSTEM(rc) ads_build_error(ADS_ERROR_SYSTEM, rc, 0) +#define ADS_ERROR_KRB5(rc) ads_build_error(ADS_ERROR_KRB5, rc, 0) +#define ADS_ERROR_GSS(rc, minor) ads_build_error(ADS_ERROR_GSS, rc, minor) #define ADS_ERR_OK(status) ((status).rc == 0) #define ADS_SUCCESS ADS_ERROR(0) |