2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Remove extraneous semicolons in CHECK_* macros.

This commit is contained in:
Todd C. Miller
2015-06-17 10:25:29 -06:00
parent 07f9814450
commit f02874fe5b

View File

@@ -140,15 +140,15 @@ extern int ldapssl_set_strength(LDAP *ldap, int strength);
#define CHECK_STRLCPY(d, s, l) do { \
if (strlcpy((d), (s), (l)) >= (l)) \
goto overflow; \
} while (0);
} while (0)
#define CHECK_STRLCAT(d, s, l) do { \
if (strlcat((d), (s), (l)) >= (l)) \
goto overflow; \
} while (0);
} while (0)
#define CHECK_LDAP_VCAT(d, s, l) do { \
if (sudo_ldap_value_cat((d), (s), (l)) >= (l)) \
goto overflow; \
} while (0);
} while (0)
#define CONF_BOOL 0
#define CONF_INT 1