From ff0ee265490a1923d50beb72ad2d14929b13319f Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Sat, 7 Mar 2009 11:41:54 +0000 Subject: [PATCH] skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle' git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12504 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_skypiax/skypiax_protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c index dcfd96be8f..d4f342ffb4 100644 --- a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c +++ b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c @@ -1051,7 +1051,7 @@ int win32_Initialize_CreateWindowClass(private_t * tech_pvt) } } 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 @@ void win32_DeInitialize_DestroyWindowClass(private_t * tech_pvt) { 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; }