1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 13:54:14 +02:00
parent 3ff3148e78
commit 9068e35744

2
main.c
View File

@ -176,7 +176,7 @@ int getprocinfo( int ppid, char cmdline[], char cmd[], char user[], char host_ip
{ {
time( &timet ); time( &timet );
} }
sprintf( date, "%s", frtime(&timet) ); sprintf( date, "%s", frtime(timet) );
date[strlen(date)-1] = 0; date[strlen(date)-1] = 0;
//get the pid of the last processus //get the pid of the last processus