[Asterisk-cvs] asterisk/channels chan_modem.c,1.26,1.27

markster at lists.digium.com markster at lists.digium.com
Fri Aug 27 11:17:40 CDT 2004


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

Modified Files:
	chan_modem.c 
Log Message:
Be sure errors on wite are passed back up (bug #2311)


Index: chan_modem.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_modem.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- chan_modem.c	8 Aug 2004 17:15:02 -0000	1.26
+++ chan_modem.c	27 Aug 2004 16:17:16 -0000	1.27
@@ -506,7 +506,7 @@
 
 	/* Block again */
 	fcntl(ast->fds[0], F_SETFL, flags);
-	return 0;
+	return res;
 }
 
 struct ast_channel *ast_modem_new(struct ast_modem_pvt *i, int state)




More information about the svn-commits mailing list