1
0
This commit is contained in:
Daniel Tartavel 2020-05-08 15:40:29 +02:00
parent dfcbb89717
commit b24369ba99

2
main.c
View File

@ -43,6 +43,8 @@ void getutmp( int pid, char user[], char host_ip[], char host_ipv6[], time_t * t
int x;
char str[6];
host_ip[0]='\0';
host_ipv6[0]='\0';
setutent();
while ( (utmp = getutent()) != NULL )
{