-----------------------------------------------------------------------------*/
bool socketBound;
unsigned int portNumber = 0;
- TOsSocket socketFd = NULL;
+ TOsSocket socketFd = 0;
const char * logFileName;
extractServerCreateParms(envP, parmsP, parmSize,
static switch_status_t do_config()
{
- switch_cache_db_handle_t *dbh;
+ switch_cache_db_handle_t *dbh = NULL;
switch_status_t status = SWITCH_STATUS_SUCCESS;
char *sql = NULL;
if (c < (POINTS - MAX_CHIRP)) {
vmd_info->state = BEEP_NOT_DETECTED;
- if (vmd_info->timestamp < vmd_info->minTime) {
+ if (vmd_info->timestamp < (switch_size_t)vmd_info->minTime) {
break;
}
(new_profile->context && profile->context && !strcasecmp(new_profile->context, profile->context))) &&
(new_profile->user_flags == profile->user_flags) && (new_profile->acl_count == profile->acl_count)
) {
- int i;
+ uint32_t i;
if (switch_odbc_available()) {
if (!(
((!new_profile->odbc_dsn && !profile->odbc_dsn) ||