[Asterisk-cvs] asterisk/channels chan_vpb.c,1.51,1.52

bkramer at lists.digium.com bkramer at lists.digium.com
Sun Dec 19 21:38:24 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7770

Modified Files:
	chan_vpb.c 
Log Message:
/ fixed "Fix comment issues (bug #3089)" bugs


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- chan_vpb.c	18 Dec 2004 22:04:06 -0000	1.51
+++ chan_vpb.c	20 Dec 2004 02:34:26 -0000	1.52
@@ -948,12 +948,12 @@
 				else if (p->state == VPB_STATE_PLAYBUSY) {
 					playtone(p->handle, &Busytone);
 					p->wantdtmf = 1;
-					p->ext[0] = 0;	/* Just to be sure & paranoid. */
+					p->ext[0] = 0;	
 				}
 				else if (p->state == VPB_STATE_PLAYRING) {
 					playtone(p->handle, &Ringbacktone);
 					p->wantdtmf = 1;
-					p->ext[0] = 0;	/* Just to be sure & paranoid. */
+					p->ext[0] = 0;
 				}
 				*/
 			} else {
@@ -2127,7 +2127,6 @@
 				
 /*
 				res = ast_mutex_trylock(&p->owner->lock);
-/*				res=0; */
 				if (res==0)  {
 					ast_queue_frame(p->owner, fr);
 					ast_mutex_unlock(&p->owner->lock);
@@ -2149,7 +2148,6 @@
 						else if (res == EBUSY )
 							if (option_verbose > 4) ast_verbose("%s: chanreads: try owner->lock gave me EBUSY[%d]\n", p->dev,res);
 						if (option_verbose > 4) ast_verbose("%s: chanreads: Couldnt get lock on owner[%s][%d][%d] channel to send frame!\n", p->dev,p->owner->name,(int)p->owner->lock.__m_owner,(int)p->owner->lock.__m_count);
-						/*assert(p->dev!=p->dev); */
 					}
 				}
 */




More information about the svn-commits mailing list