src/cloud.c
static void cloud_setSocketError(CLOUD_SESSION_T *s, int errCode)
{
   utils_sysLog(LOG_DEBUG, "%s>> socket error code %d\n", s->name, errCode);
   s->errorCode = errCode;
   s->diags->sockFailures++;
   s->errorTime = utils_getCurrentTime();
   s->totalBytesRcvd = 0;
   s->totalBytesSent = 0;
   cloud_setSessionStatus(s, CLOUD_SESSION_FAILED);
}
//!
//! Set an error code on a given Cloud socket and increment the error count.
//!
//! @param[in] *s pointer to a Cloud session structure object.
//! @param[in] err error code
//!

Set an error code on a given Cloud socket and increment the error count.
Set an error code on a given Cloud socket and increment the error count .
static void cloud_setSocketError(CLOUD_SESSION_T *s, int errCode)
{
   utils_sysLog(LOG_DEBUG, "%s>> socket error code %d\n", s->name, errCode);
   s->errorCode = errCode;
   s->diags->sockFailures++;
   s->errorTime = utils_getCurrentTime();
   s->totalBytesRcvd = 0;
   s->totalBytesSent = 0;
   cloud_setSessionStatus(s, CLOUD_SESSION_FAILED);
}
static void cloud_setSocketError ( CLOUD_SESSION_T * s , int errCode ) { utils_sysLog ( LOG_DEBUG , " \n " , s -> name , errCode ) ; s -> errorCode = errCode ; s -> diags -> sockFailures ++ ; s -> errorTime = utils_getCurrentTime ( ) ; s -> totalBytesRcvd = 0 ; s -> totalBytesSent = 0 ; cloud_setSessionStatus ( s , CLOUD_SESSION_FAILED ) ; }
Set an error code on a given Cloud socket and increment the error count.
Set an error code on a given Cloud socket and increment the error count .