mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
FS-2216 partial with renaming
This commit is contained in:
1 parent
bcf7d477e2
commit
24288832b1
16 files changed
+52
-67
No files matched your search
@@ -332,13 +332,10 @@ static switch_status_t load_profile(switch_xml_t xml)
|
||||
if (!strcmp(var, "logfile")) {
|
||||
new_profile->logfile = strdup(val);
|
||||
} else if (!strcmp(var, "rollover")) {
|
||||
new_profile->roll_size = atoi(val);
|
||||
if (new_profile->roll_size < 0) {
|
||||
new_profile->roll_size = 0;
|
||||
}
|
||||
new_profile->roll_size = switch_atoui(val);
|
||||
} else if (!strcmp(var, "maximum-rotate")) {
|
||||
new_profile->max_rot = atoi(val);
|
||||
if (new_profile->max_rot < 0) {
|
||||
new_profile->max_rot = switch_atoui(val);
|
||||
if (new_profile->max_rot == 0) {
|
||||
new_profile->max_rot = MAX_ROT;
|
||||
}
|
||||
} else if (!strcmp(var, "uuid") && switch_true(val)) {
|
||||
|
||||
Reference in new issue
Block a user