[Asterisk-cvs] asterisk/res res_osp.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 29 09:10:55 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/include/asterisk utils.h,1.4,1.5
- Next message: [Asterisk-cvs] asterisk/channels Makefile,1.54,1.55 chan_h323.c,1.62,1.63 chan_iax.c,1.61,1.62 chan_iax2.c,1.162,1.163 chan_mgcp.c,1.56,1.57 chan_sip.c,1.430,1.431 chan_skinny.c,1.48,1.49 iax2-parser.c,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv16770/res
Modified Files:
res_osp.c
Log Message:
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)
Index: res_osp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_osp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- res_osp.c 25 Jun 2004 05:52:55 -0000 1.3
+++ res_osp.c 29 Jun 2004 12:56:46 -0000 1.4
@@ -452,7 +452,7 @@
}
callerid = l;
ast_mutex_lock(&osplock);
- strcpy(ip, inet_ntoa(addr));
+ ast_inet_ntoa(ip, sizeof(ip), addr));
osp = providers;
while(osp) {
if (!strcasecmp(osp->name, provider)) {
- Previous message: [Asterisk-cvs] asterisk/include/asterisk utils.h,1.4,1.5
- Next message: [Asterisk-cvs] asterisk/channels Makefile,1.54,1.55 chan_h323.c,1.62,1.63 chan_iax.c,1.61,1.62 chan_iax2.c,1.162,1.163 chan_mgcp.c,1.56,1.57 chan_sip.c,1.430,1.431 chan_skinny.c,1.48,1.49 iax2-parser.c,1.22,1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list