This commit is contained in:
Daniel Tartavel committed 2020-05-08 15:40:29 +02:00
1 parent dfcbb89717
commit b24369ba99
1 file changed
+2
+2
View File
@@ -43,6 +43,8 @@ void getutmp( int pid, char user[], char host_ip[], char host_ipv6[], time_t * t
int x; int x;
char str[6]; char str[6];
host_ip[0]='\0';
host_ipv6[0]='\0';
setutent(); setutent();
while ( (utmp = getutent()) != NULL ) while ( (utmp = getutent()) != NULL )
{ {