pkgsrc/mbone/common-mml/patches/patch-ac
minskim 793eec4f9b Update common-mml to 1.2.16. This version was packaged by David Price,
and modified by me.

Major changes since 1.2.0:
  - Add support for SAP and SDP.
2006-04-11 18:39:41 +00:00

13 lines
449 B
Text

$NetBSD: patch-ac,v 1.2 2006/04/11 18:39:41 minskim Exp $
--- src/mbus_parser.c.orig 2006-04-11 11:12:37.000000000 -0700
+++ src/mbus_parser.c
@@ -167,7 +167,7 @@ int mbus_parse_int(struct mbus_parser *m
}
*i = strtol(m->buffer, &p, 10);
- if (((*i == LONG_MAX) || (*i == LONG_MIN)) && (errno == ERANGE)) {
+ if (((*i == INT_MAX) || (*i == INT_MIN)) && (errno == ERANGE)) {
debug_msg("integer out of range\n");
return FALSE;
}