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 | 6515c3e8ef546975657e45fce7f147fe4a08e9ca (patch) | |
tree | 2f438bcca66eca9923e8d7217007705959db7711 /source | |
parent | 76afc886a89e8c0d5a169435dde42b00db522060 (diff) | |
download | samba-6515c3e8ef546975657e45fce7f147fe4a08e9ca.tar.gz samba-6515c3e8ef546975657e45fce7f147fe4a08e9ca.tar.xz samba-6515c3e8ef546975657e45fce7f147fe4a08e9ca.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.
Diffstat (limited to 'source')
-rw-r--r-- | source/include/ads.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/include/ads.h b/source/include/ads.h index 57a41d13b57..343f505f8b0 100644 --- a/source/include/ads.h +++ b/source/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) |