[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r9931: use the port_offset option for
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r9931: use the port_offset option for RTMP too. |
Date: |
Tue, 30 Dec 2008 14:06:14 -0700 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9931
committer: address@hidden
branch nick: rtmp
timestamp: Tue 2008-12-30 14:06:14 -0700
message:
use the port_offset option for RTMP too.
modified:
cygnal/cygnal.cpp
=== modified file 'cygnal/cygnal.cpp'
--- a/cygnal/cygnal.cpp 2008-12-29 18:08:47 +0000
+++ b/cygnal/cygnal.cpp 2008-12-30 21:06:14 +0000
@@ -319,7 +319,7 @@
if ((only_port == 0) || (only_port == gnash::RTMP_PORT)) {
Network::thread_params_t rtmp_data;
// rtmp_data.port = port_offset + gnash::RTMP_PORT;
- rtmp_data.port = gnash::RTMP_PORT;
+ rtmp_data.port = port_offset + gnash::RTMP_PORT;
rtmp_data.netfd = 0;
rtmp_data.filespec = docroot;
if (crcfile.getThreadingFlag()) {
@@ -609,7 +609,7 @@
log_debug("Single threaded mode for fd #%d", args->netfd);
if (args->port == (port_offset + RTMPT_PORT)) {
http_handler(args);
- } else if (args->port == RTMP_PORT) {
+ } else if (args->port == (port_offset + RTMP_PORT)) {
rtmp_handler(args);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r9931: use the port_offset option for RTMP too.,
rob <=