src/parse.c
int parse_getStatusCode(char* strPtr)
{
   char* tempPtr;
   int status = -1;

   tempPtr = strstr(strPtr, "HTTP/");
   if (NULL != tempPtr)
   {
      tempPtr += 8; // Look past the "HTTP/1.1"
      status = strtol(tempPtr, NULL, 10);
   }

   return status;
}
//!
//! Get the HTTP response code from the specified http string.
//!
//! @param[in] strPtr  Pointer to http string
//! @return  HTTP response code
//!

Get the HTTP response code from the specified http string.
Get the HTTP response code from the specified http string .
int parse_getStatusCode(char* strPtr)
{
   char* tempPtr;
   int status = -1;
   tempPtr = strstr(strPtr, "HTTP/");
   if (NULL != tempPtr)
   {
      tempPtr += 8; 
      status = strtol(tempPtr, NULL, 10);
   }
   return status;
}
int parse_getStatusCode ( char * strPtr ) { char * tempPtr ; int status = -1 ; tempPtr = strstr ( strPtr , " " ) ; if ( NULL != tempPtr ) { tempPtr += 8 ; status = strtol ( tempPtr , NULL , 10 ) ; } return status ; }
Get the HTTP response code from the specified http string.
Get the HTTP response code from the specified http string .
// Look past the "HTTP/1.1"
