[Asterisk-cvs] asterisk/apps app_externalivr.c,1.5,1.6

kpfleming kpfleming
Thu Sep 1 14:44:37 CDT 2005


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

Modified Files:
	app_externalivr.c 
Log Message:
minor optimization


Index: app_externalivr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_externalivr.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_externalivr.c	25 Aug 2005 18:30:02 -0000	1.5
+++ app_externalivr.c	1 Sep 2005 18:45:36 -0000	1.6
@@ -85,7 +85,8 @@
 		snprintf(tmp, sizeof(tmp), "%c,%10ld,%s", event, time(NULL), data);
 	}
 
-	fprintf(handle, "%s\n", tmp);
+	fputs(tmp, handle);
+	fputc('\n', handle);
 	ast_chan_log(LOG_DEBUG, chan, "sent '%s'\n", tmp);
 }
 




More information about the svn-commits mailing list