From fdf6f4717606b65f1431a4151c5bdbfb95f59f31 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 22 Aug 2002 18:53:54 +0000 Subject: Fix the comment before "CMP_ADDRESS()" to reflect reality ("memcmp()" isn't guaranteed to return 0, 1, or -1, it returns *some* positive number, not necessarily 1, if the first argument is greater than the second, and *some* negative number, not necessarily -1, if the first argument is less than the second). svn path=/trunk/; revision=6063 --- epan/packet_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/packet_info.h') diff --git a/epan/packet_info.h b/epan/packet_info.h index 086950cb47..c78e26e7f7 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -1,7 +1,7 @@ /* packet_info.h * Definitions for packet info structures and routines * - * $Id: packet_info.h,v 1.17 2002/07/31 11:16:19 sahlberg Exp $ + * $Id: packet_info.h,v 1.18 2002/08/22 18:53:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -57,8 +57,8 @@ typedef struct _address { /* * Given two addresses, return * 0 if the addresses are equal, - * 1 if addr1>addr2 in some nondefined metric - * -1 if addr1addr2 in some nondefined metric, + * a negative number if addr1type > (addr2)->type)?1: \ -- cgit v1.2.3