avoid using "howmany" for a parameter name since it is a select-related macro

This commit is contained in:
Todd C. Miller
2011-02-19 18:53:28 -05:00
parent 315e54fd61
commit 7b622a8ca1

View File

@@ -303,13 +303,13 @@ xxxprintf(char **strp, size_t strsize, int alloc, const char *fmt0, va_list ap)
} while (0)
/* BEWARE, PAD uses `n'. */
#define PAD(howmany, with) do { \
if ((n = (howmany)) > 0) { \
#define PAD(plen, pstr) do { \
if ((n = (plen)) > 0) { \
while (n > PADSIZE) { \
PRINT(with, PADSIZE); \
PRINT(pstr, PADSIZE); \
n -= PADSIZE; \
} \
PRINT(with, n); \
PRINT(pstr, n); \
} \
} while (0)