summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-12 09:33:58 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-12 12:12:40 +0100
commitbd0f14c1d782b6afe9455e61819caeb2d480af1e (patch)
treea2d9b0cb6526b3cf24ff0fb0221fcb01d2e97a50
parent9932fd2d9af3c71262c5cca61c3b38809b952d95 (diff)
downloadsamba-bd0f14c1d782b6afe9455e61819caeb2d480af1e.tar.gz
samba-bd0f14c1d782b6afe9455e61819caeb2d480af1e.tar.bz2
samba-bd0f14c1d782b6afe9455e61819caeb2d480af1e.zip
s3:events: pass __location__ to event_loop_*()
metze
-rw-r--r--source3/lib/events.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index f875e0dc0c..8c56941829 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -145,7 +145,7 @@ struct timeval *get_timed_events_timeout(struct tevent_context *ev,
return to_ret;
}
-static int s3_event_loop_once(struct tevent_context *ev)
+static int s3_event_loop_once(struct tevent_context *ev, const char *location)
{
struct timeval now, to;
fd_set r_fds, w_fds;
@@ -181,12 +181,12 @@ static int s3_event_loop_once(struct tevent_context *ev)
return 0;
}
-static int s3_event_loop_wait(struct tevent_context *ev)
+static int s3_event_loop_wait(struct tevent_context *ev, const char *location)
{
int ret = 0;
while (ret == 0) {
- ret = s3_event_loop_once(ev);
+ ret = s3_event_loop_once(ev, location);
}
return ret;