[Asterisk-cvs] asterisk app.c,1.29,1.30
anthm at lists.digium.com
anthm at lists.digium.com
Thu Sep 23 12:36:07 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv27304
Modified Files:
app.c
Log Message:
tweak prior commit
Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- app.c 23 Sep 2004 16:02:10 -0000 1.29
+++ app.c 23 Sep 2004 16:39:33 -0000 1.30
@@ -437,13 +437,16 @@
if (chan)
ast_stopstream(chan);
- if (file) {
- end = strchr(file,':');
- if (!strcasecmp(end,":end")) {
- *end = '\0';
- end++;
+
+ if(file) {
+ if((end = strchr(file,':'))) {
+ if(!strcasecmp(end,":end")) {
+ *end = '\0';
+ end++;
+ }
}
- }
+ }
+
for (;;) {
gettimeofday(&started,NULL);
More information about the svn-commits
mailing list