From b922c0b0fb8418ee3638e604a078c8affad8d99a Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Mon, 2 Feb 2009 15:14:48 +0000 Subject: [PATCH] use MIN instead min --- src/burp/restore.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/burp/restore.epp b/src/burp/restore.epp index 08a2c6e69c..2d55117e60 100644 --- a/src/burp/restore.epp +++ b/src/burp/restore.epp @@ -2966,7 +2966,7 @@ bool get_exception(BurpGlobals* tdgbl) break; } *msg_ptr++ = char(attribute); // (1) - UCHAR* rc_ptr = get_block(tdgbl, msg_ptr, min(remaining - 1, 255)); + UCHAR* rc_ptr = get_block(tdgbl, msg_ptr, MIN(remaining - 1, 255)); if (remaining > 1 && rc_ptr == msg_ptr) // we couldn't read anything { bad_attribute (scan_next_attr, failed_attrib, 287);