From aa530b295b7bd1c34c19f0b255d6ef602057f060 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 25 Aug 2008 21:38:10 +0000 Subject: [PATCH] =/== bug; not sure how this got through. --- src/libCom/test/blockingSockTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libCom/test/blockingSockTest.cpp b/src/libCom/test/blockingSockTest.cpp index 75797fc84..cb31260fc 100644 --- a/src/libCom/test/blockingSockTest.cpp +++ b/src/libCom/test/blockingSockTest.cpp @@ -277,10 +277,10 @@ MAIN(blockingSockTest) } testDiag("This OS behaves like \"%s\".", mechName(mech)); - if (! testOk(mech = epicsSocketSystemCallInterruptMechanismQuery (), - "Socket shutdown mechanism") ) + int query = epicsSocketSystemCallInterruptMechanismQuery (); + if (! testOk(mech == query, "Socket shutdown mechanism") ) testDiag("epicsSocketSystemCallInterruptMechanismQuery returned \"%s\"", - mechName(epicsSocketSystemCallInterruptMechanismQuery () ) ); + mechName(query)); return testDone(); }