1.x.x
* Fix Makefile patch from Havard Eidnes, better install.sh usage.
+ * Fix parse error on SOA serial of 2910532839.
1.6.1 2009-09-14
* --enable-gost : use the GOST algorithm (experimental).
r = (uint16_t*)LDNS_MALLOC(uint32_t);
errno = 0; /* must set to zero before call,
note race condition on errno */
- l = htonl((uint32_t)strtol((char*)longstr, &end, 10));
+ if(*longstr == '-')
+ l = htonl((uint32_t)strtol((char*)longstr, &end, 10));
+ else l = htonl((uint32_t)strtoul((char*)longstr, &end, 10));
if(*end != 0) {
LDNS_FREE(r);