[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-client-cvs
Subject:    [Client-cvs] common/util hxtimer.cpp,1.2,1.3
From:       ping () helixcommunity ! org
Date:       2007-04-17 20:52:47
Message-ID: 200704172053.l3HKrCjQ003090 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/client/common/util
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27199

Modified Files:
	hxtimer.cpp 
Log Message:
return the right HX_RESULT



Index: hxtimer.cpp
===================================================================
RCS file: /cvsroot/client/common/util/hxtimer.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- hxtimer.cpp	19 Apr 2006 22:40:25 -0000	1.2
+++ hxtimer.cpp	17 Apr 2007 20:52:45 -0000	1.3
@@ -90,13 +90,15 @@
 {
     PRE_REQUIRE_RETURN( pContext, HXR_INVALID_PARAMETER );
     
-    HX_RESULT outResult = HXR_FAIL;
+    HX_RESULT res = HXR_FAIL;
     
     SPIHXCommonClassFactory spIObjectSource = pContext;
     if ( spIObjectSource.IsValid() )
-	spIObjectSource->QueryInterface( IID_IHXScheduler, ( void** ) &m_pIScheduler );
+    {
+	res = spIObjectSource->QueryInterface( IID_IHXScheduler, ( void** ) &m_pIScheduler );
+    }
     
-    return outResult;
+    return res;
 }
 
 


_______________________________________________
Client-cvs mailing list
Client-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/client-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic