diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-07-15 20:51:45 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-07-15 20:51:45 +0200 |
| commit | 087253ca04b79b3d13d8df62ba3c1ed3a3a99470 (patch) | |
| tree | a718a533b33a92b31a384670e12f04e593d1812e /src | |
| parent | 3ed96f9c9a813130f26cd1187fc439440067e5cc (diff) | |
Minor changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/logger.c | 2 | ||||
| -rw-r--r-- | src/publisher.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.c b/src/logger.c index 0a3278e..a698a0d 100644 --- a/src/logger.c +++ b/src/logger.c @@ -70,7 +70,7 @@ int main (int argc, char *argv []) fprintf(logptr,"%ld,%d\n",TIMESTAMP(),power); fseek(regptr,0,SEEK_SET); sleep(1); - printf("Tick\n"); + printf("Tick\n"); fflush(stdout); } fclose(logptr); } diff --git a/src/publisher.c b/src/publisher.c index e216232..7c401c4 100644 --- a/src/publisher.c +++ b/src/publisher.c @@ -62,7 +62,7 @@ int main (int argc, char *argv []) // Send current one if(FILE_EXISTS(logfile)){ publish(publisher,logfile,client,interval); - //remove(logfile); + remove(logfile); } } } |
