[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9615: Fix headers
From: |
Markus Gothe |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9615: Fix headers |
Date: |
Sat, 30 Aug 2008 23:00:49 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9615
committer: Markus Gothe <address@hidden>
branch nick: gnash-rtmp
timestamp: Sat 2008-08-30 23:00:49 +0200
message:
Fix headers
modified:
utilities/rtmpget.cpp
=== modified file 'utilities/rtmpget.cpp'
--- a/utilities/rtmpget.cpp 2008-08-28 01:24:50 +0000
+++ b/utilities/rtmpget.cpp 2008-08-30 21:00:49 +0000
@@ -25,14 +25,14 @@
#include <string>
#include <iostream>
#include <sstream>
-#include <signal.h>
+#include <csignal>
#include <vector>
#include <sys/mman.h>
#include <cerrno>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <gettext.h>
+#include "gettext.h"
// classes internal to Gnash
#include "gnash.h"
@@ -452,7 +452,7 @@
#if 0
// Write the packet to disk so we can anaylze it with other tools
int fd = open("outbuf.raw",O_WRONLY|O_CREAT, S_IRWXU);
- if (fd == -1) {
+ if (fd < 0) {
perror("open");
}
cout << "Writing packet to disk: \"outbuf.raw\"" << endl;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9615: Fix headers,
Markus Gothe <=