summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder-1.25-text.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-25 00:31:32 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-25 00:31:32 -0300
commitba3d7dee09d565698a060a37de2a9beafe0ff02b (patch)
tree64eb63bf5d4cec4f329d25326c7d16c0e9bf71e1 /pcr/zoneminder/zoneminder-1.25-text.patch
parent0ef744fa6b2d7fde08a4a116fa1a0a6d3029b972 (diff)
zoneminder: updating revision with new features
Diffstat (limited to 'pcr/zoneminder/zoneminder-1.25-text.patch')
-rw-r--r--pcr/zoneminder/zoneminder-1.25-text.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/zoneminder/zoneminder-1.25-text.patch b/pcr/zoneminder/zoneminder-1.25-text.patch
new file mode 100644
index 000000000..90885f1b5
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25-text.patch
@@ -0,0 +1,12 @@
+--- ZoneMinder-1.25.0/src/zm_stream.cpp 2009-05-08 09:47:27.000000000 -0400
++++ ZoneMinder-1.25.0.ajs/src/zm_stream.cpp 2013-01-14 16:52:18.000000000 -0500
+@@ -262,7 +262,7 @@ bool StreamBase::sendTextFrame( const ch
+ fprintf( stdout, "--ZoneMinderFrame\r\n" );
+ fprintf( stdout, "Content-Length: %d\r\n", n_bytes );
+ fprintf( stdout, "Content-Type: image/jpeg\r\n\r\n" );
+- if ( fwrite( buffer, n_bytes, 1, stdout ) )
++ if ( fwrite( buffer, n_bytes, 1, stdout ) != 1 )
+ {
+ Error( "Unable to send stream text frame: %s", strerror(errno) );
+ return( false );
+