CVS: beepcore-c/threaded_os/wrapper bp_notify.c,1.12,1.13

Chris Hanson <[email protected]> Tue, 13 Aug 2002 10:34:44 -0700
Newsgroups gmane.network.beep.beepcore.c.cvs
Message-ID <[email protected]>
Update of /cvsroot/beepcore-c/beepcore-c/threaded_os/wrapper
In directory usw-pr-cvs1:/tmp/cvs-serv17814/threaded_os/wrapper

Modified Files:
	bp_notify.c 
Log Message:
Miscellaneous small changes from Matt Small.

Index: bp_notify.c
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/wrapper/bp_notify.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** bp_notify.c	13 Aug 2002 17:15:39 -0000	1.12
--- bp_notify.c	13 Aug 2002 17:34:42 -0000	1.13
***************
*** 438,442 ****
      SEM_WAIT(&wrap->lock);
      /* construct our action list */
!     if (indication->channel_number) {
          /* closing the channel */
          sesschan = PRO_ACTION_CHANNEL;
--- 438,442 ----
      SEM_WAIT(&wrap->lock);
      /* construct our action list */
!     if (indication->channel_number != 0) {
          /* closing the channel */
          sesschan = PRO_ACTION_CHANNEL;
***************
*** 458,462 ****
          /* tell em all */
          list = wrap->conn.channel_instance;
!         while (list) {
              inst = (CHANNEL_INSTANCE *)list->data;
              if (inst && inst->channel_number) {
--- 458,462 ----
          /* tell em all */
          list = wrap->conn.channel_instance;
!         while (list != NULL) {
              inst = (CHANNEL_INSTANCE *)list->data;
              if (inst && inst->channel_number) {
***************
*** 487,493 ****
       */
      list = rblist;
!     while (list) {
          inst = (CHANNEL_INSTANCE *)list->data;
!         if (inst && inst->channel_number) {
              if (wrap->conn.status != INST_STATUS_EXIT &&
                  inst->profile_registration->thread_per_channel)
--- 487,493 ----
       */
      list = rblist;
!     while (list != NULL) {
          inst = (CHANNEL_INSTANCE *)list->data;
!         if ((inst != NULL) && (inst->channel_number != 0)) {
              if (wrap->conn.status != INST_STATUS_EXIT &&
                  inst->profile_registration->thread_per_channel)
***************
*** 543,547 ****
       * So we do not check as rigorously for error cases here.
       */
!     if (cz)
      {
          switch (cz->op_ic) 
--- 543,547 ----
       * So we do not check as rigorously for error cases here.
       */
!     if (cz != NULL)
      {
          switch (cz->op_ic) 
***************
*** 607,611 ****
          cinstance->profile->pro_frame_available(pinstance);
      return 0;
- 
  }
  
--- 607,610 ----



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31