mirror of
git://erdgeist.org/opentracker
synced 2025-01-26 22:56:26 +00:00
Clean up pw-structs
This commit is contained in:
parent
c212b48bec
commit
3f0a18ba08
@ -765,7 +765,7 @@ int main( int argc, char **argv ) {
|
||||
}
|
||||
}
|
||||
|
||||
// Bind to our default tcp/udp ports
|
||||
/* Bind to our default tcp/udp ports */
|
||||
if( !ot_sockets_count ) {
|
||||
ot_try_bind( serverip, 6969, 1 );
|
||||
ot_try_bind( serverip, 6969, 0 );
|
||||
@ -779,6 +779,7 @@ int main( int argc, char **argv ) {
|
||||
setegid( pws->pw_gid ); setuid( pws->pw_uid );
|
||||
setgid( pws->pw_gid ); seteuid( pws->pw_uid );
|
||||
}
|
||||
endpwent();
|
||||
|
||||
signal( SIGPIPE, SIG_IGN );
|
||||
signal( SIGINT, graceful );
|
||||
|
Loading…
x
Reference in New Issue
Block a user