X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=lib%2Ftevent%2Ftevent.c;h=2cebe51939ae97619a7c05a950adf8a5317702ba;hb=e6c324aaec89b6c561e19018b0ccbd5d9c0eea73;hp=99cd074e655aa6adec1a1b69d5c62b4a1adb5853;hpb=f4db6a027762ad252ad5b36701e287dc1e44a1e5;p=metze%2Fsamba%2Fwip.git diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index 99cd074e655a..2cebe51939ae 100644 --- a/lib/tevent/tevent.c +++ b/lib/tevent/tevent.c @@ -409,6 +409,10 @@ struct tevent_context *tevent_context_init_ops(TALLOC_CTX *mem_ctx, ev->ops = ops; ev->additional_data = additional_data; + /* FD and TIMER events are always supported */ + ev->features |= TEVENT_FEATURE_FD_SUPPORT; + ev->features |= TEVENT_FEATURE_TIMER_SUPPORT; + ret = ev->ops->context_init(ev); if (ret != 0) { talloc_free(ev);