=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: iphlpapi: Fix check for icmpstat. icps_outhist.
Alexandre Julliard
julliard at winehq.org
Mon Jun 4 13:27:13 CDT 2012
Module: wine
Branch: master
Commit: c74b1c21596b40586c2fcff3efc5e31ebc0a9a97
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c74b1c21596b40586c2fcff3efc5e31ebc0a9a97
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Jun 2 18:57:34 2012 +0200
iphlpapi: Fix check for icmpstat.icps_outhist.
---
dlls/iphlpapi/ipstats.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index f87e056..c204223 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -522,7 +522,7 @@ DWORD WINAPI GetIcmpStatistics(PMIB_ICMP stats)
stats->stats.icmpInStats.dwAddrMasks = icmp_stat.icps_inhist[ICMP_MASKREQ];
stats->stats.icmpInStats.dwAddrMaskReps = icmp_stat.icps_inhist[ICMP_MASKREPLY];
-#ifdef HAVE_ICPS_OUTHIST
+#ifdef HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST
/* out stats */
stats->stats.icmpOutStats.dwMsgs = icmp_stat.icps_oldshort + icmp_stat.icps_oldicmp;
for(i = 0; i <= ICMP_MAXTYPE; i++)
@@ -541,7 +541,7 @@ DWORD WINAPI GetIcmpStatistics(PMIB_ICMP stats)
stats->stats.icmpOutStats.dwTimestampReps = icmp_stat.icps_outhist[ICMP_TSTAMPREPLY];
stats->stats.icmpOutStats.dwAddrMasks = icmp_stat.icps_outhist[ICMP_MASKREQ];
stats->stats.icmpOutStats.dwAddrMaskReps = icmp_stat.icps_outhist[ICMP_MASKREPLY];
-#endif /* ICPS_OUTHIST */
+#endif /* HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST */
ret = NO_ERROR;
}
}
More information about the wine-cvs
mailing list