summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-20 00:48:45 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-20 00:48:45 +0000
commita26e02f9225bf32c01e034b7175899c02f58ffcf (patch)
tree3d663eb5ae18eaf1317e65ded6ffc6f4fe78d26c /net-misc/dropbear/files
parentunleash uclibc-0.9.28 (diff)
downloadhistorical-a26e02f9225bf32c01e034b7175899c02f58ffcf.tar.gz
historical-a26e02f9225bf32c01e034b7175899c02f58ffcf.tar.bz2
historical-a26e02f9225bf32c01e034b7175899c02f58ffcf.zip
dont sleep
Diffstat (limited to 'net-misc/dropbear/files')
-rw-r--r--net-misc/dropbear/files/dropbear-0.45-urandom.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/dropbear/files/dropbear-0.45-urandom.patch b/net-misc/dropbear/files/dropbear-0.45-urandom.patch
index e45c1ef599d9..21e306f521f6 100644
--- a/net-misc/dropbear/files/dropbear-0.45-urandom.patch
+++ b/net-misc/dropbear/files/dropbear-0.45-urandom.patch
@@ -40,7 +40,7 @@ diff -ur dropbear-0.45.orig/random.c dropbear-0.45/random.c
+ if (readlen < 0 && errno == EAGAIN) {
+ ++readtries;
+ if (readtries < 5) {
-+ sleep(1);
++ sleep(0);
+ continue;
+ } else if (readtries == 5) {
+ close (readfd);