[lc-devel] question
Status: Beta
Brought to you by:
nitin_sf
From: Murali V. N <vil...@cs...> - 2003-07-29 02:44:42
|
Hi All, Is this a typo in the statistics accounting initialization? memset((void *) &compression_algorithm, 0, sizeof(struct stats_summary)); Should n't it be either a) memset((void *) &compression_algorithm.stats, 0, sizeof(struct stats_summary)); (OR) b) memset((void *) &compression_algorithm, 0, sizeof(struct comp_alg)); In any case, isn't the memset redundant (since compression algorithm is defined as a global variable)? Thanks for all the great work! Murali |