diff options
| -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 ); |
