/[linphone]/linphone/oRTP/src/sessionset.c
ViewVC logotype

Diff of /linphone/oRTP/src/sessionset.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by smorlat, Wed Feb 14 13:33:11 2007 UTC revision 1.17 by smorlat, Tue Nov 27 15:03:54 2007 UTC
# Line 108  int session_set_select(SessionSet *recvs Line 108  int session_set_select(SessionSet *recvs
108                  /* computes the SessionSet intersection (in the other words mask intersection) between                  /* computes the SessionSet intersection (in the other words mask intersection) between
109                  the mask given by the user and scheduler masks */                  the mask given by the user and scheduler masks */
110                  if (recvs!=NULL){                  if (recvs!=NULL){
111                            session_set_init(&temp);
112                          bits=session_set_and(&sched->r_sessions,sched->all_max,recvs,&temp);                          bits=session_set_and(&sched->r_sessions,sched->all_max,recvs,&temp);
113                          if (bits>0){                          if (bits>0){
114                                  ret+=bits;                                  ret+=bits;
# Line 116  int session_set_select(SessionSet *recvs Line 117  int session_set_select(SessionSet *recvs
117                          }                          }
118                  }                  }
119                  if (sends!=NULL){                  if (sends!=NULL){
120                            session_set_init(&temp);
121                          bits=session_set_and(&sched->w_sessions,sched->all_max,sends,&temp);                          bits=session_set_and(&sched->w_sessions,sched->all_max,sends,&temp);
122                          if (bits>0){                          if (bits>0){
123                                  ret+=bits;                                  ret+=bits;
# Line 124  int session_set_select(SessionSet *recvs Line 126  int session_set_select(SessionSet *recvs
126                          }                          }
127                  }                  }
128                  if (errors!=NULL){                  if (errors!=NULL){
129                            session_set_init(&temp);
130                          bits=session_set_and(&sched->e_sessions,sched->all_max,errors,&temp);                          bits=session_set_and(&sched->e_sessions,sched->all_max,errors,&temp);
131                          if (bits>0){                          if (bits>0){
132                                  ret+=bits;                                  ret+=bits;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26