[Asterisk-cvs] asterisk loader.c, 1.26.2.1, 1.26.2.2 logger.c,
1.45.2.2, 1.45.2.3
russell at lists.digium.com
russell at lists.digium.com
Mon Dec 27 17:39:26 CST 2004
- Previous message: [Asterisk-cvs] libpri-matt libpri.h, 1.5, 1.6 pri.c, 1.2,
1.3 pri_facility.c, 1.6, 1.7 pri_facility.h, 1.5,
1.6 pri_internal.h, 1.6, 1.7
- Next message: [Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.9,1.151.2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv7380
Modified Files:
Tag: v1-0
loader.c logger.c
Log Message:
prevent seg faults
Index: loader.c
===================================================================
RCS file: /usr/cvsroot/asterisk/loader.c,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.2
diff -u -d -r1.26.2.1 -r1.26.2.2
--- loader.c 7 Dec 2004 02:16:49 -0000 1.26.2.1
+++ loader.c 27 Dec 2004 22:34:25 -0000 1.26.2.2
@@ -67,7 +67,7 @@
strcat(buf, buf2);
}
strcat(buf, "\n");
- ast_log(LOG_DEBUG, buf);
+ ast_log(LOG_DEBUG, "%s", buf);
return 0;
}
Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.45.2.2
retrieving revision 1.45.2.3
diff -u -d -r1.45.2.2 -r1.45.2.3
--- logger.c 15 Nov 2004 02:30:32 -0000 1.45.2.2
+++ logger.c 27 Dec 2004 22:34:25 -0000 1.45.2.3
@@ -649,7 +649,7 @@
} /* else
fprintf(stdout, stuff + opos); */
- ast_log(LOG_VERBOSE, stuff);
+ ast_log(LOG_VERBOSE, "%s", stuff);
if (fmt[strlen(fmt)-1] != '\n')
replacelast = 1;
- Previous message: [Asterisk-cvs] libpri-matt libpri.h, 1.5, 1.6 pri.c, 1.2,
1.3 pri_facility.c, 1.6, 1.7 pri_facility.h, 1.5,
1.6 pri_internal.h, 1.6, 1.7
- Next message: [Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.9,1.151.2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list