diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-01-24 08:57:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-01-31 16:16:09 +0100 |
commit | 1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828 (patch) | |
tree | 616f6d07e6fe5dd67503220cdd92f1287888f3b8 | |
parent | 6953e2fa66410d466832b5e582921a291d224c5b (diff) | |
download | samba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.tar.gz samba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.tar.bz2 samba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.zip |
s3:lib/events: don't loop over fd events is select gave -1
metze
-rw-r--r-- | source3/lib/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c index 7670eb1f10..2ac4cc00ed 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -113,7 +113,7 @@ bool run_events(struct tevent_context *ev, return true; } - if (selrtn == 0) { + if (selrtn <= 0) { /* * No fd ready */ |