2003-01-10 Roland McGrath <roland@redhat.com>

* configure.ac: Check struct T_conn_res for QUEUE_ptr or ACCEPTOR_id.
	* stream.c (print_transport_message): Use #ifdefs for those members.
This commit is contained in:
Roland McGrath
2003-01-10 20:05:54 +00:00
parent acf06ef2e3
commit 38dc6bb84f

View File

@ -708,8 +708,13 @@ int len;
#ifdef T_CONN_RES
case T_CONN_RES: /* connect response */
GET (T_CONN_RES, conn_res);
#ifdef HAVE_STRUCT_T_CONN_RES_QUEUE_PTR
COMMA ();
tprintf ("QUEUE=%p", m.conn_res.QUEUE_ptr);
#elif defined HAVE_STRUCT_T_CONN_RES_ACCEPTOR_ID
COMMA ();
tprintf ("QUEUE=%p", m.conn_res.ACCEPTOR_id);
#endif
ADDR (conn_res, OPT);
COMMA ();
tprintf ("SEQ=%ld", m.conn_res.SEQ_number);