summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-14 10:02:24 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-14 15:12:34 +0200
commitb2c9fe4ad18fd4ecb04bc2e3c2896e06418efed0 (patch)
tree60be12e8a4afcfe3620344629bc765cafd05cfbf /source3/lib/util.c
parent23887fa87e403a79c8fd5f28373940bd695a293c (diff)
downloadsamba-b2c9fe4ad18fd4ecb04bc2e3c2896e06418efed0.tar.gz
samba-b2c9fe4ad18fd4ecb04bc2e3c2896e06418efed0.tar.bz2
samba-b2c9fe4ad18fd4ecb04bc2e3c2896e06418efed0.zip
lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c
metze
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 22c2eb288c..49cd7719e3 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2262,17 +2262,6 @@ const char *strip_hostname(const char *s)
return s;
}
-bool tevent_req_poll_ntstatus(struct tevent_req *req,
- struct tevent_context *ev,
- NTSTATUS *status)
-{
- bool ret = tevent_req_poll(req, ev);
- if (!ret) {
- *status = map_nt_error_from_unix_common(errno);
- }
- return ret;
-}
-
bool any_nt_status_not_ok(NTSTATUS err1, NTSTATUS err2, NTSTATUS *result)
{
if (!NT_STATUS_IS_OK(err1)) {