void OS_CompressLog(char *logfile)
{
FILE *log;
- gzFile *zlog;
+ gzFile zlog;
char logfileGZ[OS_FLSIZE + 1];
int len, err;
/* Setting the umask */
umask(0027);
-
+
/* Creating the gzip file name */
snprintf(logfileGZ, OS_FLSIZE, "%s.gz", logfile);
return;
}
-
+
/* EOF */