svn commit: samba r4756 - in branches/SAMBA_4_0/source/lib: .
tridge at samba.org
tridge at samba.org
Sat Jan 15 10:31:34 GMT 2005
Author: tridge
Date: 2005-01-15 10:31:33 +0000 (Sat, 15 Jan 2005)
New Revision: 4756
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4756
Log:
a slight tidy up in the events code
Modified:
branches/SAMBA_4_0/source/lib/events.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/events.c
===================================================================
--- branches/SAMBA_4_0/source/lib/events.c 2005-01-15 10:30:58 UTC (rev 4755)
+++ branches/SAMBA_4_0/source/lib/events.c 2005-01-15 10:31:33 UTC (rev 4756)
@@ -79,12 +79,9 @@
{
struct event_context *ev;
- ev = talloc_p(mem_ctx, struct event_context);
+ ev = talloc_zero(mem_ctx, struct event_context);
if (!ev) return NULL;
- /* start off with no events */
- ZERO_STRUCTP(ev);
-
ev->events = talloc_new(ev);
return ev;
More information about the samba-cvs
mailing list