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.
diff --git a/stream.c b/stream.c
index a7629fb..db2c823 100644
--- a/stream.c
+++ b/stream.c
@@ -708,8 +708,13 @@
#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);