gochatai/pachi_py/pachi/network.c
/* Open the log connection on the given port, redirect stderr to it. */
Open the log connection on the given port, redirect stderr to it.
Open the log connection on the given port redirect stderr to it .
static void
open_log_connection(struct port_info *info)
{
	int log_conn = open_connection(info);
	if (dup2(log_conn, STDERR) < 0)
		die("dup2");
	if (DEBUGL(0))
		fprintf(stderr, "log connection opened\n");
}
static void open_log_connection ( struct port_info * info ) { int log_conn = open_connection ( info ) ; if ( dup2 ( log_conn , STDERR ) < 0 ) die ( " " ) ; if ( DEBUGL ( 0 ) ) fprintf ( stderr , " \n " ) ; }
Open the log connection on the given port, redirect stderr to it.
Open the log connection on the given port redirect stderr to it .