gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r9817: use DiskStream file types, no


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9817: use DiskStream file types, not AMF ones.
Date: Sun, 30 Nov 2008 18:21:55 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9817
committer: address@hidden
branch nick: rtmp
timestamp: Sun 2008-11-30 18:21:55 -0700
message:
  use DiskStream file types, not AMF ones.
modified:
  testsuite/libnet.all/test_http.cpp
=== modified file 'testsuite/libnet.all/test_http.cpp'
--- a/testsuite/libnet.all/test_http.cpp        2008-11-29 20:25:32 +0000
+++ b/testsuite/libnet.all/test_http.cpp        2008-12-01 01:21:55 +0000
@@ -249,7 +249,7 @@
     // specified field, then next to see if the default works.
 //     bool formatContentType();
     http.clearHeader();
-    http.formatContentType(amf::AMF::FILETYPE_SWF);
+    http.formatContentType(DiskStream::FILETYPE_SWF);
 //    cerr << "FIXME: " << http.getHeader() << endl;
     regcomp (&regex_pat, "Content-Type: application/x-shockwave-flash.*$",
              REG_NOSUB|REG_NEWLINE);
@@ -312,6 +312,7 @@
     } else {
         runtest.pass ("HTTP::formatErrorResponse(header)");
     }
+# if 0
     regfree(&regex_pat);
     regcomp (&regex_pat, "DOCTYPE.*<title>404 Not Found</title>.*$",
              REG_NOSUB);        // note that we do want to look for NL
@@ -321,6 +322,7 @@
         runtest.pass ("HTTP::formatErrorResponse(body)");
     }
     regfree(&regex_pat);
+#endif
     
     //
     // Decoding tests for HTTP


reply via email to

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