Fix errors in refactored code
authorSam Moore <[email protected]>
Thu, 12 Sep 2013 17:04:48 +0000 (01:04 +0800)
committerSam Moore <[email protected]>
Thu, 12 Sep 2013 17:04:48 +0000 (01:04 +0800)
commitfa6b29f87b5014334d604012fb4a9201e6227c5b
tree8a6a4761e4a1d66c5d0fae804431844663d9bfef
parentbbd64b3c32d79d247c7535693aafa20a3baba6b8
Fix errors in refactored code

NOTE to Jeremy: I was using 2 FILE* for read/writing
But that seems to cause irregular behaviour (fread fails a lot).
So I just made both the FILE* the same and put mutexes around all of Data_Save and Data_Read for now.
server/data.c
server/data.h
server/sensor.c
server/valgrind.sh

UCC git Repository :: git.ucc.asn.au