1
0

fin de boucle while dans utmp

This commit is contained in:
Daniel Tartavel 2020-05-07 17:48:24 +02:00
parent 012226f856
commit 0bba327c0b

1
main.c
View File

@ -32,6 +32,7 @@ void getutmp( int pid, char user[], char host_ip[] )
{ {
sprintf(user, "%s", utmp->ut_user); sprintf(user, "%s", utmp->ut_user);
sprintf(host_ip, "%s", utmp->ut_host); sprintf(host_ip, "%s", utmp->ut_host);
break;
} }
} }
endutent(); endutent();