From 361c073f2f672488798de1138c050585616c03f4 Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 3 Jun 2003 21:53:13 +0000 Subject: [PATCH] Commented out setbuf calls. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@553 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_event.cpp | 2 +- src/zm_monitor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index 77fe72b2c..032cd2e91 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -281,7 +281,7 @@ void Event::StreamEvent( const char *path, int event_id, long refresh, FILE *fd exit( mysql_errno( &dbconn ) ); } - setbuf( fd, 0 ); + //setbuf( fd, 0 ); fprintf( fd, "Server: ZoneMinder Stream Server\r\n" ); fprintf( fd, "Pragma: no-cache\r\n" ); fprintf( fd, "Cache-Control: no-cache\r\n" ); diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 8f4308e79..078f9de64 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -675,7 +675,7 @@ void Monitor::StreamImages( unsigned long idle, unsigned long refresh, FILE *fd, { time_t start_time, now; - setbuf( fd, 0 ); + //setbuf( fd, 0 ); fprintf( fd, "Server: ZoneMinder Stream Server\r\n" ); fprintf( fd, "Pragma: no-cache\r\n" ); fprintf( fd, "Cache-Control: no-cache\r\n" );