[Freeswitch-svn] [commit] r12504 - freeswitch/trunk/src/mod/endpoints/mod_skypiax

FreeSWITCH SVN gmaruzz at freeswitch.org
Sat Mar 7 03:41:54 PST 2009


Author: gmaruzz
Date: Sat Mar  7 05:41:54 2009
New Revision: 12504

Log:
skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	Sat Mar  7 05:41:54 2009
@@ -1051,7 +1051,7 @@
     }
   }
   if (fReturnStatus == 0)
-    CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle),
+    CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
       tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle = NULL;
   return (fReturnStatus);
 }
@@ -1060,7 +1060,7 @@
 {
   UnregisterClass(tech_pvt->SkypiaxHandles.win32_acInit_WindowClassName,
                   tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
-  CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle),
+  CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
     tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle = NULL;
 }
 



More information about the Freeswitch-svn mailing list