[asterisk-commits] trunk r17029 - /trunk/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Apr 3 00:34:41 MST 2006


Author: tilghman
Date: Mon Apr  3 02:34:40 2006
New Revision: 17029

URL: http://svn.digium.com/view/asterisk?rev=17029&view=rev
Log:
Bug 6861 - Routine should use the specified writetimeout, rather than the default

Modified:
    trunk/manager.c

Modified: trunk/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/manager.c?rev=17029&r1=17028&r2=17029&view=diff
==============================================================================
--- trunk/manager.c (original)
+++ trunk/manager.c Mon Apr  3 02:34:40 2006
@@ -407,7 +407,7 @@
 		ast_log(LOG_ERROR, "Memory allocation failure\n");
 	} else {
 		if (s->fd > -1)
-			ast_carefulwrite(s->fd, stuff, strlen(stuff), 100);
+			ast_carefulwrite(s->fd, stuff, strlen(stuff), s->writetimeout);
 		else {
 			tmp = realloc(s->outputstr, (s->outputstr ? strlen(s->outputstr) : 0) + strlen(stuff) + 1);
 			if (tmp) {



More information about the asterisk-commits mailing list