gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11099: use gnashSleep() instead of


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11099: use gnashSleep() instead of sleep().
Date: Sat, 13 Jun 2009 08:45:07 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11099
committer: address@hidden
branch nick: trunk
timestamp: Sat 2009-06-13 08:45:07 -0600
message:
  use gnashSleep() instead of sleep().
modified:
  libnet/rtmp.cpp
=== modified file 'libnet/rtmp.cpp'
--- a/libnet/rtmp.cpp   2009-04-05 21:19:54 +0000
+++ b/libnet/rtmp.cpp   2009-06-13 14:45:07 +0000
@@ -43,6 +43,7 @@
 #include "handler.h"
 #include "utility.h"
 #include "buffer.h"
+#include "GnashSleep.h"
 
 using std::cerr;
 using std::endl;
@@ -879,7 +880,7 @@
 
     // First send the full header, afterwards we only use continuation
     // headers, which are only one byte.
-    sleep(1);
+    gnashSleep(100000);
     ret = writeNet(fd, head->reference(), head->size());
     if (ret == -1) {
        log_error("Couldn't write the RTMP header!");


reply via email to

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