git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6536
d0543943-73ff-0310-b7d9-
9358b9ac24b2
if (cumlative) {
uint32_t l = switch_log_str2level(val);
- int i;
+ uint32_t i;
assert(l < 10);
if ((handle = switch_core_data_channel(SWITCH_CHANNEL_ID_LOG))) {
size_t mask = 0;
- int ok = 0;
+ size_t ok = 0;
ok = switch_log_check_mask(all_level, level);
fprintf(handle, "%s", node->data);
}
}
- } else {
- fprintf(stderr, "HELP I HAVE NO CONSOLE TO LOG TO!\n");
- fflush(stderr);
}
return SWITCH_STATUS_SUCCESS;
for (hi = switch_hash_first(NULL, profile_hash); hi; hi = switch_hash_next(hi)) {
size_t mask = 0;
- int ok = 0;
+ size_t ok = 0;
switch_hash_this(hi, &var, NULL, &val);
profile = val;