gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11396: use a constant for the netwo


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11396: use a constant for the network port.
Date: Tue, 25 Aug 2009 18:50:40 -0000
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11396
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Sat 2009-08-08 10:11:08 -0600
message:
  use a constant for the network port.
modified:
  cygnal/cgi-bin/echo/echo.cpp
  cygnal/cgi-bin/echo/gateway.cpp
=== modified file 'cygnal/cgi-bin/echo/echo.cpp'
--- a/cygnal/cgi-bin/echo/echo.cpp      2009-08-04 17:39:22 +0000
+++ b/cygnal/cgi-bin/echo/echo.cpp      2009-08-08 16:11:08 +0000
@@ -51,7 +51,7 @@
 int
 main(int argc, char *argv[])
 {
-    int port = 1234;
+    int port = CGIBIN_PORT;
     bool done = false;
     
     dbglogfile.setLogFilename("echo-test.log");
@@ -252,5 +252,6 @@
          << _("  -h,  --help          Print this help and exit") << endl
          << _("  -v,  --verbose       Output verbose debug info") << endl
         << _("  -n,  --netdebug      Turn on net debugging messages") << endl
+        << _("  -p,  --netdebug      port for network") << endl
          << endl;
 }

=== modified file 'cygnal/cgi-bin/echo/gateway.cpp'
--- a/cygnal/cgi-bin/echo/gateway.cpp   2009-08-04 17:39:22 +0000
+++ b/cygnal/cgi-bin/echo/gateway.cpp   2009-08-08 16:11:08 +0000
@@ -50,7 +50,7 @@
 int
 main(int argc, char *argv[])
 {
-    int port = 1234;
+    int port = CGIBIN_PORT;
     bool done = false;
     bool gdb = false;
     


reply via email to

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