gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9764: merge minor debug message twea


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9764: merge minor debug message tweak.
Date: Fri, 21 Nov 2008 09:47:38 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9764
committer: address@hidden
branch nick: rtmp
timestamp: Fri 2008-11-21 09:47:38 -0700
message:
  merge minor debug message tweak.
modified:
  utilities/rtmpget.cpp
    ------------------------------------------------------------
    revno: 9759.1.1
    committer: strk <address@hidden>
    branch nick: rtmp
    timestamp: Thu 2008-11-20 23:15:11 +0100
    message:
      add successful exit at end of main, log connection info to DEBUG channel
    modified:
      utilities/rtmpget.cpp
=== modified file 'utilities/rtmpget.cpp'
--- a/utilities/rtmpget.cpp     2008-11-18 19:44:36 +0000
+++ b/utilities/rtmpget.cpp     2008-11-20 22:15:11 +0000
@@ -294,19 +294,17 @@
         pageUrl = "http://gnashdev.org";;
     }
     
-    if (netdebug) {
-        cerr << "URL is " << url << endl;
-        cerr << "Protocol is " << protocol << endl;
-        cerr << "Host is "  << hostname << endl;
-        cerr << "Port is "  << port << endl;
-        cerr << "Path is "  << path << endl;
-        cerr << "Filename is "  << filename << endl;
-        cerr << "App is "   << app << endl;
-        cerr << "Query is " << query << endl;
-        cerr << "tcUrl is " << tcUrl << endl;
-        cerr << "swfUrl is " << swfUrl << endl;
-        cerr << "pageUrl is " << pageUrl << endl;
-    }
+    log_debug("URL is %s", url);
+    log_debug("Protocol is %s", protocol);
+    log_debug("Host is %s", hostname);
+    log_debug("Port is %s", port);
+    log_debug("Path is %s", path);
+    log_debug("Filename is %s", filename);
+    log_debug("App is %s", app);
+    log_debug("Query is %s", query);
+    log_debug("tcUrl is %s", tcUrl);
+    log_debug("swfUrl is %s", swfUrl);
+    log_debug("pageUrl is %s", pageUrl);
 
     client.toggleDebug(netdebug);
     if (client.createClient(hostname, port) == false) {
@@ -458,6 +456,8 @@
     write(fd, buf3->reference(), buf3->size());
     close(fd);
 #endif    
+
+    exit(0);
 }
 
 // Trap Control-C so we can cleanly exit


reply via email to

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