mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-19 12:19:46 +00:00
Minor changes
This commit is contained in:
parent
dd12a4b42f
commit
f1bbb2449f
2 changed files with 11 additions and 1 deletions
|
@ -70,6 +70,7 @@ int main (int argc, char *argv [])
|
|||
|
||||
while(!__stop){
|
||||
interval=INTERVAL(__loginterval);
|
||||
*logfilepath='\0'; // Clear previous path
|
||||
sprintf(logfilepath,"%s/%ld",__logdir,interval);
|
||||
logptr=fopen(logfilepath,"w");
|
||||
// Write file header:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue