From ac40946c11b13fcf0875bfc531e296d39fa66ab4 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Fri, 1 May 2009 22:47:41 +0000 Subject: [PATCH] Comment changes. git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@782 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri_q931.h | 6 +++--- q921.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pri_q931.h b/pri_q931.h index c6c2bb5..97d21d2 100644 --- a/pri_q931.h +++ b/pri_q931.h @@ -79,13 +79,13 @@ typedef struct q931_h { u_int8_t pd; /* Protocol Discriminator */ #if __BYTE_ORDER == __BIG_ENDIAN u_int8_t x0:4; - u_int8_t crlen:4; + u_int8_t crlen:4;/*!< Call reference length */ #else - u_int8_t crlen:4; + u_int8_t crlen:4;/*!< Call reference length */ u_int8_t x0:4; #endif u_int8_t contents[0]; - u_int8_t crv[3]; + u_int8_t crv[3];/*!< Call reference value */ } __attribute__ ((packed)) q931_h; diff --git a/q921.c b/q921.c index f85be2a..2e648c4 100644 --- a/q921.c +++ b/q921.c @@ -821,7 +821,7 @@ pri_event *q921_dchannel_down(struct pri *pri) /* Notify Layer 3 */ q931_dl_indication(pri, PRI_EVENT_DCHAN_DOWN); - /* Report event that D-Channel is now up */ + /* Report event that D-Channel is now down */ pri->ev.gen.e = PRI_EVENT_DCHAN_DOWN; return &pri->ev; } @@ -894,6 +894,7 @@ static pri_event *q921_receive_MDL(struct pri *pri, q921_u *h, int len) /* Go to master */ for (sub = pri; sub->master; sub = sub->master); tei = 64; +/*! \todo XXX Error: The following loop never terminates! */ while(sub->subchannel) { if(sub->subchannel->tei == tei) ++tei;