Commit 22ee4868 authored by deuce's avatar deuce
Browse files

Add comment regarding direct read of unpacked struct.

parent 92cb0a97
......@@ -51,6 +51,7 @@ BOOL DLLCALL getstats(scfg_t* cfg, char node, stats_t* stats)
return(FALSE);
}
lseek(file,4L,SEEK_SET); /* Skip update time/date */
/* TODO: Direct read of unpacked struct */
read(file,stats,sizeof(stats_t));
close(file);
return(TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment