Browse Source

register both ends of self pipe to libowfat in order to use them

dynamic-accesslists
Dirk Engling 7 years ago
parent
commit
48c9c6172b
  1. 2
      opentracker.c

2
opentracker.c

@ -640,6 +640,8 @@ int main( int argc, char **argv ) { @@ -640,6 +640,8 @@ int main( int argc, char **argv ) {
panic( "selfpipe failed: " );
if( !io_fd( g_self_pipe[0] ) )
panic( "selfpipe io_fd failed: " );
if( !io_fd( g_self_pipe[1] ) )
panic( "selfpipe io_fd failed: " );
io_setcookie( g_self_pipe[0], (void*)FLAG_SELFPIPE );
io_wantread( g_self_pipe[0] );

Loading…
Cancel
Save