diff options
| author | erdgeist <> | 2007-07-20 10:20:02 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-07-20 10:20:02 +0000 |
| commit | 3f0a18ba080c4c72cea714ff216735c9e80ecd90 (patch) | |
| tree | 0269ed7f5e13332703527611173dc51a5cbfe5de | |
| parent | c212b48bec8d8a79a301b86f71929063127029d8 (diff) | |
Clean up pw-structs
| -rw-r--r-- | opentracker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 1a056e6..bb3de02 100644 --- a/opentracker.c +++ b/opentracker.c | |||
| @@ -765,7 +765,7 @@ int main( int argc, char **argv ) { | |||
| 765 | } | 765 | } |
| 766 | } | 766 | } |
| 767 | 767 | ||
| 768 | // Bind to our default tcp/udp ports | 768 | /* Bind to our default tcp/udp ports */ |
| 769 | if( !ot_sockets_count ) { | 769 | if( !ot_sockets_count ) { |
| 770 | ot_try_bind( serverip, 6969, 1 ); | 770 | ot_try_bind( serverip, 6969, 1 ); |
| 771 | ot_try_bind( serverip, 6969, 0 ); | 771 | ot_try_bind( serverip, 6969, 0 ); |
| @@ -779,6 +779,7 @@ int main( int argc, char **argv ) { | |||
| 779 | setegid( pws->pw_gid ); setuid( pws->pw_uid ); | 779 | setegid( pws->pw_gid ); setuid( pws->pw_uid ); |
| 780 | setgid( pws->pw_gid ); seteuid( pws->pw_uid ); | 780 | setgid( pws->pw_gid ); seteuid( pws->pw_uid ); |
| 781 | } | 781 | } |
| 782 | endpwent(); | ||
| 782 | 783 | ||
| 783 | signal( SIGPIPE, SIG_IGN ); | 784 | signal( SIGPIPE, SIG_IGN ); |
| 784 | signal( SIGINT, graceful ); | 785 | signal( SIGINT, graceful ); |
