[Asterisk-cvs] asterisk/channels chan_zap.c,1.202,1.203

markster at lists.digium.com markster at lists.digium.com
Wed Apr 7 10:11:12 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Don't say we're unable to find the channel if we're able to find it.


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- chan_zap.c	6 Apr 2004 22:17:32 -0000	1.202
+++ chan_zap.c	7 Apr 2004 14:11:49 -0000	1.203
@@ -7132,6 +7132,8 @@
 			} else {
 				ast_cli(fd, "Actual Hookstate: %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
 			}
+			ast_mutex_unlock(&iflock);
+			return RESULT_SUCCESS;
 		}
 		tmp = tmp->next;
 	}




More information about the svn-commits mailing list