gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11962: Fix funny indentation.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11962: Fix funny indentation.
Date: Wed, 24 Feb 2010 12:22:12 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 11962
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2010-02-24 12:22:12 +0100
message:
  Fix funny indentation.
  
  Use correct includes.
modified:
  libbase/RTMP.cpp
  libbase/Socket.cpp
=== modified file 'libbase/RTMP.cpp'
--- a/libbase/RTMP.cpp  2010-02-24 09:56:02 +0000
+++ b/libbase/RTMP.cpp  2010-02-24 11:22:12 +0000
@@ -32,11 +32,11 @@
 #include "ClockTime.h"
 
 namespace gnash {
-    namespace rtmp {
-
-        namespace {
-
-            bool sendBytesReceived(RTMP* r);
+namespace rtmp {
+
+namespace {
+
+    bool sendBytesReceived(RTMP* r);
 
     // Not sure we ever want to do this.
     bool sendServerBW(RTMP& r);
@@ -54,13 +54,13 @@
     boost::int32_t decodeInt32LE(const boost::uint8_t* c);
     int encodeInt32LE(boost::uint8_t *output, int nVal);
     unsigned int decodeInt24(const boost::uint8_t* c);
-    boost::uint8_t* encodeInt16(boost::uint8_t *output, boost::uint8_t 
*outend, short nVal);
+    boost::uint8_t* encodeInt16(boost::uint8_t *output, boost::uint8_t *outend,
+            short nVal);
     boost::uint8_t* encodeInt24(boost::uint8_t *output, boost::uint8_t *outend,
             int nVal);
     boost::uint8_t* encodeInt32(boost::uint8_t *output, boost::uint8_t *outend,
             int nVal);
 
-
     static const int packetSize[] = { 12, 8, 4, 1 };
  
 }

=== modified file 'libbase/Socket.cpp'
--- a/libbase/Socket.cpp        2010-02-23 15:28:45 +0000
+++ b/libbase/Socket.cpp        2010-02-24 11:22:12 +0000
@@ -25,8 +25,11 @@
 #include <unistd.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
+
 #include <boost/cstdint.hpp>
 #include <cstring>
+#include <cerrno>
+#include <boost/lexical_cast.hpp>
 
 #include "URL.h"
 #include "Socket.h"


reply via email to

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