diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-06 08:55:42 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-06 08:55:42 +0000 |
commit | 13bd723f39459bc3835159e553a7c494c498c93b (patch) | |
tree | 3af444807745cea1a7eb416519e56d7e2dc02975 /usr.sbin/ypldap | |
parent | 127796729aa64fbda6e38e0b0d8fce38241dd239 (diff) |
shuffle code around to achieve 0 length diff nirvana between all the
currently synced daemons' imsg.c, imsg.h and buffer.c
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r-- | usr.sbin/ypldap/imsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/imsg.c b/usr.sbin/ypldap/imsg.c index d176c9479ef..2a25cb2d34b 100644 --- a/usr.sbin/ypldap/imsg.c +++ b/usr.sbin/ypldap/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.3 2009/06/06 05:04:12 pyr Exp $ */ +/* $OpenBSD: imsg.c,v 1.4 2009/06/06 08:55:41 pyr Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -33,10 +33,10 @@ imsg_init(struct imsgbuf *ibuf, int fd) { msgbuf_init(&ibuf->w); bzero(&ibuf->r, sizeof(ibuf->r)); - ibuf->pid = getpid(); - TAILQ_INIT(&ibuf->fds); ibuf->fd = fd; ibuf->w.fd = fd; + ibuf->pid = getpid(); + TAILQ_INIT(&ibuf->fds); } ssize_t |