mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-2216 partial with renaming
This commit is contained in:
@@ -951,7 +951,7 @@ static void tm2switchtime(struct tm *tm, switch_time_exp_t *xt)
|
||||
if (!xt || !tm) {
|
||||
return;
|
||||
}
|
||||
memset(xt, 0, sizeof(xt));
|
||||
memset(xt, 0, sizeof(*xt));
|
||||
|
||||
xt->tm_sec = tm->tm_sec;
|
||||
xt->tm_min = tm->tm_min;
|
||||
|
Reference in New Issue
Block a user