diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-23 08:37:02 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-23 08:37:02 +0200 |
commit | 8e5435a864da30ec0210f36fdff464a72cc5b31a (patch) | |
tree | 386040df20ca5e695699f853d759e884564d0d17 /src/gsm/gsm0808.c | |
parent | 550b06c04c5c1b1afafc53ee1274444a09ca4122 (diff) |
timer: Use the now parameter when it is not NULL
The code would have used an uninitialized current_time in case
"now" was not NULL. As now is const and timersub expects a non
const parameter I decided to copy now into current_time.
Fixes: CID #1040661
Diffstat (limited to 'src/gsm/gsm0808.c')
0 files changed, 0 insertions, 0 deletions