summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-24 08:57:47 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-31 16:16:09 +0100
commit1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828 (patch)
tree616f6d07e6fe5dd67503220cdd92f1287888f3b8 /source3
parent6953e2fa66410d466832b5e582921a291d224c5b (diff)
downloadsamba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.tar.gz
samba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.tar.bz2
samba-1f2be10ebf4cc06e3b7aac41ea35bfc4a41ce828.zip
s3:lib/events: don't loop over fd events is select gave -1
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/events.c2
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
*/