diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-02-25 08:09:41 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-02-25 08:09:41 +0000 |
commit | 222e0b2db136b104ad93564e126a36a1f5abe7eb (patch) | |
tree | ff2812ddbc00af78a38ef9997de8282e857a8355 /ACE/ace | |
parent | a0e11eba45d520981193a745790280a8c3fdea9a (diff) | |
download | ATCD-222e0b2db136b104ad93564e126a36a1f5abe7eb.tar.gz |
Mon Feb 25 08:09:24 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Sock_Connect.cpp:
Don't use MAX_IF as constant, is a system defined constant on
some operating systems
* tests/OS_Test.cpp:
Call compiler version methods, should fix some Coverity test
coverage issues
Diffstat (limited to 'ACE/ace')
-rw-r--r-- | ACE/ace/Sock_Connect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Sock_Connect.cpp b/ACE/ace/Sock_Connect.cpp index 8973534b202..6813e1d0256 100644 --- a/ACE/ace/Sock_Connect.cpp +++ b/ACE/ace/Sock_Connect.cpp @@ -1312,10 +1312,10 @@ return 0; // algorithm // Probably hard to put this many ifs in a unix box.. - int const MAX_IF = 50; + int const MAX_INTERFACES = 50; // HACK - set to an unreasonable number - int const num_ifs = MAX_IF; + int const num_ifs = MAX_INTERFACES; struct ifconf ifcfg; size_t ifreq_size = num_ifs * sizeof (struct ifreq); |