diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-05-17 09:44:32 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-05-17 16:55:20 -0400 |
commit | 1a7906ae914fd233305fff0acf4b9138ff944209 (patch) | |
tree | ab444822e5a80abe8cbd6966ea6238acee4a4e20 /src/test | |
parent | 87c7c9d75e8f5f671824deb0dcc4d05f4b4ab11b (diff) |
basic: define HEXDIGITS
define HEXDIGITS alongside DIGITS, and use it where it's already useful. We'll
use it again shortly when parsing MAC addresses.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c index ec9f173da2..79609765e0 100644 --- a/src/test/test-fileio.c +++ b/src/test/test-fileio.c @@ -289,7 +289,7 @@ static void test_capeff(void) { assert_se(r == 0); assert_se(*capeff); - p = capeff[strspn(capeff, DIGITS "abcdefABCDEF")]; + p = capeff[strspn(capeff, HEXDIGITS)]; assert_se(!p || isspace(p)); } } |