[asterisk-commits] file: branch 1.4 r88026 - /branches/1.4/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 1 08:27:37 CDT 2007


Author: file
Date: Thu Nov  1 08:27:37 2007
New Revision: 88026

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88026
Log:
Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)

Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=88026&r1=88025&r2=88026
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Thu Nov  1 08:27:37 2007
@@ -1890,14 +1890,14 @@
 				break;
 
 			if (c) {
-				if (c->fds[0] != origfd || (user->zapchannel && chan->spies)) {
+				if (c->fds[0] != origfd || (user->zapchannel && c->spies)) {
 					if (using_pseudo) {
 						/* Kill old pseudo */
 						close(fd);
 						using_pseudo = 0;
 					}
 					ast_log(LOG_DEBUG, "Ooh, something swapped out under us, starting over\n");
-					retryzap = (strcasecmp(chan->tech->type, "Zap") || chan->spies ? 1 : 0);
+					retryzap = (strcasecmp(c->tech->type, "Zap") || c->spies ? 1 : 0);
 					user->zapchannel = !retryzap;
 					goto zapretry;
 				}




More information about the asterisk-commits mailing list