@ -32,7 +32,7 @@ void getutmp( int pid, char user[], char host_ip[], time_t * time )
{
sprintf(user,"%s",utmp->ut_user);
sprintf(host_ip,"%s",utmp->ut_host);
*time=utmp->ut_tv.tv_sec;
*time=(time_t)utmp->ut_tv.tv_sec;
break;
}
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.