diff options
author | Daniel Jones <admin@danieljon.es> | 2019-04-17 14:08:42 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2019-04-17 14:08:42 +0930 |
commit | d9343fb793c448fcb82270fe63a61dfa782b8af7 (patch) | |
tree | dbf6a6d04c65448d003b7ae7ed1c4264b90fdedd | |
parent | 38ddafa8d292ac500f4be741453ea75a7e4fb085 (diff) | |
download | xwake-master.tar.gz xwake-master.zip |
-rw-r--r-- | xwake.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ gettriggertimes(int *startarr, int *endarr) { char smodify[6]; char emodify[6]; - strncpy(smodify, start, 5); - strncpy(emodify, end, 5); + strncpy(smodify, start, 6); + strncpy(emodify, end, 6); startarr[0] = atoi(strtok(smodify, ":")); startarr[1] = atoi(strtok(NULL, ":")); |