From: Giovanni Maruzzelli Date: Sat, 7 Mar 2009 11:41:54 +0000 (+0000) Subject: skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0': this... X-Git-Tag: v1.0.4~1608 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff0ee265490a1923d50beb72ad2d14929b13319f;p=thirdparty%2Ffreeswitch.git 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 --- 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; }