Removing Warning Messages
diff --git a/utility.c b/utility.c
index cf7452a..f04ba39 100644
--- a/utility.c
+++ b/utility.c
@@ -122,7 +122,7 @@
char *ret;
char *logExt;
char *defaultLogDir;
- int status;
+ //int status;
struct stat st;
int isLogDirExists=0;
char *time=getLocalTimeStamp();
@@ -170,7 +170,8 @@
memcpy(logDir,pd.pw_dir,strlen(pd.pw_dir)+1);
memcpy(logDir+strlen(logDir),defaultLogDir,strlen(defaultLogDir)+1);
if(stat(logDir,&st) != 0)
- status = mkdir(logDir, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+ mkdir(logDir, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
+ //printf("Status: %d\n",status);
}
}
memcpy(logFileName,logDir,strlen(logDir)+1);