NMT: Fix test of SMS code for different time zones

This commit is contained in:
Andreas Eversberg
2018-11-10 14:43:31 +01:00
parent 2cff22ef54
commit 73757ba083
4 changed files with 15 additions and 14 deletions

View File

@@ -1272,7 +1272,7 @@ static void tx_mt_complete(nmt_t *nmt, frame_t *frame)
}
if (trans->dms_call) {
time_t ti = time(NULL);
sms_deliver(nmt, sms_ref, trans->caller_id, trans->caller_type, SMS_PLAN_ISDN_TEL, ti, trans->sms_string);
sms_deliver(nmt, sms_ref, trans->caller_id, trans->caller_type, SMS_PLAN_ISDN_TEL, ti, 1, trans->sms_string);
}
}
}