Minor changes

This commit is contained in:
Loic Guegan 2023-07-15 16:06:43 +02:00
parent b8bdb006a3
commit 97c48bd23d
3 changed files with 7 additions and 4 deletions

View file

@ -58,6 +58,7 @@ int main (int argc, char *argv [])
interval=atoi(token);
if(line==4){
printf("Data received with key=%s\n",key);
char path[255]="";
sprintf(path,"%s/%s_%s_%ld",cdatadir,key,client,interval);
fptr=fopen(path,"a");