[Asterisk-cvs] asterisk/channels chan_agent.c,1.163,1.164

kpfleming kpfleming
Fri Oct 28 13:29:58 CDT 2005


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

Modified Files:
	chan_agent.c 
Log Message:
fix remaining breakage from yesterday's changes


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- chan_agent.c	28 Oct 2005 17:11:20 -0000	1.163
+++ chan_agent.c	28 Oct 2005 17:22:34 -0000	1.164
@@ -1822,7 +1822,7 @@
 						int pos = 0;
 						/* Retrieve login chan */
 						for (;;) {
-							if (args.extension) {
+							if (!ast_strlen_zero(args.extension)) {
 								ast_copy_string(tmpchan, args.extension, sizeof(tmpchan));
 								res = 0;
 							} else




More information about the svn-commits mailing list