aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_vpb.c
diff options
context:
space:
mode:
authorbkramer <bkramer@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 02:34:26 +0000
committerbkramer <bkramer@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 02:34:26 +0000
commit2476030983fbcd36f0ec9b36dc8f796dd3a202c1 (patch)
tree4c6d8de12f6a961576ef94449b8acbb979f1a6b7 /channels/chan_vpb.c
parentfadfa2c9922d8ab56e15cf0d9d8a567b16b7cbcd (diff)
/ fixed "Fix comment issues (bug #3089)" bugs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4501 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_vpb.c')
-rwxr-xr-xchannels/chan_vpb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_vpb.c b/channels/chan_vpb.c
index cbcd46c5d..227bb2ee3 100755
--- a/channels/chan_vpb.c
+++ b/channels/chan_vpb.c
@@ -948,12 +948,12 @@ static inline int monitor_handle_notowned(struct vpb_pvt *p, VPB_EVENT *e)
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 @@ static void *do_chanreads(void *pvt)
/*
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 @@ static void *do_chanreads(void *pvt)
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); */
}
}
*/