1
0
Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Walter
50219004d6 return n/a instead of exiting if a specific value cannot be read 2016-03-10 13:09:24 +01:00
Daniel Walter
b51721c65a add config checks on startup for better error handling 2016-03-10 12:11:46 +01:00
Daniel Walter
5295629c4f add update_interval
add a short sleep to reduce load
2016-03-10 11:55:42 +01:00
Daniel Walter
046e273a7e simplify smprintf by using vasprintf 2016-03-10 11:49:48 +01:00
Aaron Marcher
175844da0f Merge pull request #5 from Vlaix/master
Fixed small buffer in get_datetime()
2016-03-10 10:59:59 +01:00
Vincent Loupmon
790e150a1c Fixed small buffer in get_datetime()
The buffer being hardcoded to 19 (the size expected from the default time format),
strftime() would fail on any format returning a longer buffer.
Changed it from 19 to 64 to accomodate longer formats.
2016-03-10 10:53:14 +01:00
Aaron Marcher
11e9491fc0 small changes (var names) 2016-03-10 08:37:20 +01:00
Aaron Marcher
6a0ae11abc put everything in logical order 2016-03-09 16:30:52 +01:00
Vincent Loupmon
e241dbeba4 Changed RAM calculation formula.
Former : MemTotal - MemAvailable
New : (MemTotal - MemFree) - (Buffers + Cached)
2016-03-09 12:38:22 +01:00
Aaron Marcher
b5813a7f67 changed to easier variable names 2016-03-09 11:21:35 +01:00
Aaron Marcher
8894244cb8 changed to 4 spaces indentation (2 are not enough) 2016-03-09 11:13:27 +01:00
Vincent Loupmon
3b6f51f8eb Fixed broken wifi
Fixed indentation
Removed trailig white spaces
2016-03-09 10:19:10 +01:00
Roy Freytag
12521e4e10 fixed some memory leaks 2016-03-08 20:55:07 +01:00
Aaron Marcher
526955ecda fixed tabs xD 2016-03-08 18:39:18 +01:00
Aaron Marcher
570ebe3496 variable names 2016-03-07 10:08:04 +01:00
Aaron Marcher
cc85bcc4a4 commented and reordered 2016-03-07 10:00:02 +01:00
Aaron Marcher
6b2b839cfd revised everything 2016-03-05 14:07:02 +01:00
Aaron Marcher
864f2246b5 added config.def.h handling and fixed typo 2016-03-04 18:36:47 +01:00
Aaron Marcher
94ea78f0fe initial commit 2016-03-04 18:07:42 +01:00