summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-11-06 05:10:05 +0000
committerMarc Laukien <marc@zeroc.com>2003-11-06 05:10:05 +0000
commit7816254e21f180386d95f2408d424d7ca59f0767 (patch)
tree84f6b6f16e434c74054d9cfaf89c8513d607dc27 /cpp/src/Ice/Instance.cpp
parentChanged FD_SETSIZE to 1024 under Windows. (diff)
downloadice-7816254e21f180386d95f2408d424d7ca59f0767.tar.bz2
ice-7816254e21f180386d95f2408d424d7ca59f0767.tar.xz
ice-7816254e21f180386d95f2408d424d7ca59f0767.zip
DNSException fix
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 306af207e6d..c3a418457f2 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -403,8 +403,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, int& argc,
if(_globalStateCounter == 1) // Only on first call
{
- unsigned int seed =
- static_cast<unsigned int>(IceUtil::Time::now().toMicroSeconds());
+ unsigned int seed = static_cast<unsigned int>(IceUtil::Time::now().toMicroSeconds());
srand(seed);
if(_properties->getPropertyAsInt("Ice.NullHandleAbort") > 0)