FS-2216 partial with renaming

This commit is contained in:
Jeff Lenk
2012-01-08 14:19:16 -06:00
parent bcf7d477e2
commit 24288832b1
16 changed files with 52 additions and 67 deletions

View File

@@ -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;