aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src/readline_buffer.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-24 12:48:37 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-24 12:48:37 +0200
commit0c6ea4f8a634179506fac61d6d5286feeb66ae64 (patch)
tree981db05aa650d7d57ea2c134f7ebbf8e4991b3fd /contrib/epee/src/readline_buffer.cpp
parentMerge pull request #2103 (diff)
parentreadline_buffer: fix busy wait (diff)
downloadmonero-0c6ea4f8a634179506fac61d6d5286feeb66ae64.tar.xz
Merge pull request #2111
8261ba69 readline_buffer: fix busy wait (moneromooo-monero)
Diffstat (limited to 'contrib/epee/src/readline_buffer.cpp')
-rw-r--r--contrib/epee/src/readline_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/readline_buffer.cpp b/contrib/epee/src/readline_buffer.cpp
index 6305d3e16..2d17103b3 100644
--- a/contrib/epee/src/readline_buffer.cpp
+++ b/contrib/epee/src/readline_buffer.cpp
@@ -122,7 +122,7 @@ static int process_input()
struct timeval t;
t.tv_sec = 0;
- t.tv_usec = 0;
+ t.tv_usec = 1000;
FD_ZERO(&fds);
FD_SET(STDIN_FILENO, &fds);