[asterisk-commits] bbryant: branch 1.4 r72335 - in /branches/1.4: ./ main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 27 18:03:02 CDT 2007


Author: bbryant
Date: Wed Jun 27 18:03:01 2007
New Revision: 72335

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72335
Log:
Merged revisions 72333 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 2 lines

Reverted changes for earlier revisions 72259 to 72261. Issue #9654, #10010

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/main/asterisk.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=72335&r1=72334&r2=72335
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Wed Jun 27 18:03:01 2007
@@ -2282,9 +2282,6 @@
 	for (;;) {
 		ebuf = (char *)el_gets(el, &num);
 
-		if (!ebuf && write(1, "", 1) < 0)
-			break;
-
 		if (!ast_strlen_zero(ebuf)) {
 			if (ebuf[strlen(ebuf)-1] == '\n')
 				ebuf[strlen(ebuf)-1] = '\0';
@@ -2960,9 +2957,6 @@
 		for (;;) {
 			buf = (char *)el_gets(el, &num);
 
-			if (!buf && write(1, "", 1) < 0)
-				goto lostterm;
-
 			if (buf) {
 				if (buf[strlen(buf)-1] == '\n')
 					buf[strlen(buf)-1] = '\0';
@@ -2985,6 +2979,5 @@
 
 	monitor_sig_flags(NULL);
 
-lostterm:
 	return 0;
 }




More information about the asterisk-commits mailing list