summaryrefslogtreecommitdiff
path: root/source3/include/ads.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-02-02 22:09:03 +0000
committerJim McDonough <jmcd@samba.org>2002-02-02 22:09:03 +0000
commitde6dbff17711c5b516db8f70b67a74189de66758 (patch)
tree1a40cfef4ca1da0ded4803b57c262a340ee15cd6 /source3/include/ads.h
parent55b92fdebcddc14981c6eafbe98751b365a5e0ed (diff)
downloadsamba-de6dbff17711c5b516db8f70b67a74189de66758.tar.gz
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)
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r--source3/include/ads.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 57a41d13b57..343f505f8b0 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)