git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid event_find_context() when the event context is already available
[bbaumbach/samba-autobuild/.git]
/
source4
/
utils
/
net
/
net_time.c
diff --git
a/source4/utils/net/net_time.c
b/source4/utils/net/net_time.c
index 12a8132ceaae294384850fbee1c90716832b0f72..92e6e7748192bd47a3430366697365bdf6fd0c73 100644
(file)
--- a/
source4/utils/net/net_time.c
+++ b/
source4/utils/net/net_time.c
@@
-43,7
+43,7
@@
int net_time(struct net_context *ctx, int argc, const char **argv)
return net_time_usage(ctx, argc, argv);
}
- libnetctx = libnet_context_init(
event_context_find(ctx)
, ctx->lp_ctx);
+ libnetctx = libnet_context_init(
ctx->event_ctx
, ctx->lp_ctx);
if (!libnetctx) {
return -1;
}