diff options
Diffstat (limited to 'lib/strtoul.c')
-rw-r--r-- | lib/strtoul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strtoul.c b/lib/strtoul.c index e0c0142f..420931a4 100644 --- a/lib/strtoul.c +++ b/lib/strtoul.c @@ -87,7 +87,7 @@ bstrhextobin(const char *s, byte *b) int v = fromxdigit(*s); if (v < 0) { - if (strchr(" :-", *s) && !hi) + if (strchr(" -.:", *s) && !hi) continue; else return -1; |