openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
101 stars 54 forks source link

Always parse cyclye times as decimal integers (unsigned). #44

Closed nexx512 closed 5 years ago

nexx512 commented 5 years ago

Times like 09:00 can not be recognized with %i because scanf expects octal numbers with leading zeroes. Also unsigned values don't make sense. So I suggest changing the parsing to unsigned decimal integers.