Commented out setbuf calls.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@553 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-06-03 21:53:13 +00:00
parent 5c71a13784
commit 361c073f2f
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ void Event::StreamEvent( const char *path, int event_id, long refresh, FILE *fd
exit( mysql_errno( &dbconn ) ); exit( mysql_errno( &dbconn ) );
} }
setbuf( fd, 0 ); //setbuf( fd, 0 );
fprintf( fd, "Server: ZoneMinder Stream Server\r\n" ); fprintf( fd, "Server: ZoneMinder Stream Server\r\n" );
fprintf( fd, "Pragma: no-cache\r\n" ); fprintf( fd, "Pragma: no-cache\r\n" );
fprintf( fd, "Cache-Control: no-cache\r\n" ); fprintf( fd, "Cache-Control: no-cache\r\n" );

View File

@ -675,7 +675,7 @@ void Monitor::StreamImages( unsigned long idle, unsigned long refresh, FILE *fd,
{ {
time_t start_time, now; time_t start_time, now;
setbuf( fd, 0 ); //setbuf( fd, 0 );
fprintf( fd, "Server: ZoneMinder Stream Server\r\n" ); fprintf( fd, "Server: ZoneMinder Stream Server\r\n" );
fprintf( fd, "Pragma: no-cache\r\n" ); fprintf( fd, "Pragma: no-cache\r\n" );
fprintf( fd, "Cache-Control: no-cache\r\n" ); fprintf( fd, "Cache-Control: no-cache\r\n" );