[Asterisk-cvs] asterisk/res res_osp.c,1.7,1.8

mattf at lists.digium.com mattf at lists.digium.com
Tue Sep 7 11:13:38 CDT 2004


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

Modified Files:
	res_osp.c 
Log Message:
Changes from Dimitri for OSP codes, minor buglets


Index: res_osp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_osp.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- res_osp.c	14 Jul 2004 13:57:15 -0000	1.7
+++ res_osp.c	7 Sep 2004 15:16:18 -0000	1.8
@@ -170,6 +170,8 @@
 				osp->timeout = x;
 			} else
 				ast_log(LOG_WARNING, "timeout should be an integer from 200 to 10000, not '%s' at line %d\n", v->value, v->lineno);
+		} else if (!strcasecmp(v->name, "source")) {
+			strncpy(osp->source, v->value, sizeof(osp->source) - 1);
 		}
 		v = v->next;
 	}
@@ -248,7 +250,7 @@
 					   1, 
 					   300, 
 					   osp->maxconnections, 
-					   60000, 
+					   1, 
 					   osp->retrydelay, 
 					   osp->retrylimit, 
 					   osp->timeout, 




More information about the svn-commits mailing list