Fix for PR #597 breakage of VS-2012/2010 builds

This commit is contained in:
Andrew Johnson
2025-02-20 10:27:41 -06:00
parent a3d8531008
commit 0733beae50

View File

@ -163,11 +163,11 @@ void camsgtask ( void *pParm )
int casClientInitiatingCurrentThread ( char * pBuf, size_t bufSize )
{
struct client * pClient;
if ( ! rsrvCurrentClient )
return RSRV_ERROR; /* not yet initialized, or disabled via dbServer */
struct client * pClient = ( struct client * )
epicsThreadPrivateGet ( rsrvCurrentClient );
pClient = ( struct client * ) epicsThreadPrivateGet ( rsrvCurrentClient );
if ( ! pClient )
return RSRV_ERROR;