[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9800: terminate by appending directl
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9800: terminate by appending directly to the Buffer to get rid of the extraneous character. |
Date: |
Sat, 29 Nov 2008 12:33:11 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9800
committer: address@hidden
branch nick: rtmp
timestamp: Sat 2008-11-29 12:33:11 -0700
message:
terminate by appending directly to the Buffer to get rid of the extraneous
character.
modified:
libnet/http.h
=== modified file 'libnet/http.h'
--- a/libnet/http.h 2008-11-29 01:09:55 +0000
+++ b/libnet/http.h 2008-11-29 19:33:11 +0000
@@ -230,7 +230,7 @@
amf::Buffer &formatTE(const std::string &data)
{return formatCommon("TE: " + data); };
// All HTTP messages are terminated with a blank line
- void terminateHeader() { formatCommon("\r\n"); };
+ void terminateHeader() { _buffer += "\r\n"; };
amf::Buffer &formatErrorResponse(http_status_e err);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9800: terminate by appending directly to the Buffer to get rid of the extraneous character.,
rob <=