gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11782: copy one less byte when maki


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11782: copy one less byte when making the header string.
Date: Wed, 20 Jan 2010 17:08:08 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11782
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Wed 2010-01-20 17:08:08 -0700
message:
  copy one less byte when making the header string.
modified:
  libnet/http.cpp
=== modified file 'libnet/http.cpp'
--- a/libnet/http.cpp   2010-01-20 00:29:40 +0000
+++ b/libnet/http.cpp   2010-01-21 00:08:08 +0000
@@ -144,7 +144,7 @@
 HTTP::processHeaderFields(amf::Buffer *buf)
 {
   //    GNASH_REPORT_FUNCTION;
-    string head(reinterpret_cast<const char *>(buf->reference()), buf->size() 
+ 1);
+    string head(reinterpret_cast<const char *>(buf->reference()), buf->size());
 
     // The end of the header block is always followed by a blank line
     string::size_type end = head.find("\r\n\r\n", 0);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]