pkgsrc/mbone/rat/patches/patch-aj
2003-10-18 12:30:00 +00:00

17 lines
762 B
Text

$NetBSD: patch-aj,v 1.2 2003/10/18 12:30:00 cjep Exp $
--- src/main.c.orig 2003-10-08 22:35:32.000000000 +1000
+++ src/main.c 2003-10-08 22:49:06.000000000 +1000
@@ -98,11 +98,11 @@
NEW_QUEUE(pckt_queue_struct, rtcp_pckt_queue)
NEW_QUEUE(rx_queue_struct, rx_unit_queue)
-#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q##[0]; \
+#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q[0]; \
Q##_ptr[0]->queue_empty_flag = 1; \
Q##_ptr[0]->head_ptr = NULL; \
Q##_ptr[0]->tail_ptr = NULL; \
- Q##_ptr[1] = &Q##[1]; \
+ Q##_ptr[1] = &Q[1]; \
Q##_ptr[1]->queue_empty_flag = 1; \
Q##_ptr[1]->head_ptr = NULL; \
Q##_ptr[1]->tail_ptr = NULL;