Merge pull request #2078 from acrisci/bug/detect-base16-conid

Bug: parse con_id base 16
This commit is contained in:
Michael Stapelberg 2015-11-23 22:07:08 +01:00
commit 008e32fe3e
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ void match_parse_property(Match *match, const char *ctype, const char *cvalue) {
}
char *end;
long parsed = strtol(cvalue, &end, 10);
long parsed = strtol(cvalue, &end, 0);
if (parsed == LONG_MIN ||
parsed == LONG_MAX ||
parsed < 0 ||