diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-04-26 15:18:23 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-04-26 15:18:23 +0000 |
commit | 6e5845073dbe0c4d3009e926ef0a224e6b4fd2cf (patch) | |
tree | 2f0a9a5edc2acd3591ad54579598e491531a4b36 /usr.sbin/bgpd/imsg.c | |
parent | 6891686af4046a405bebe35f12c0494b2329718b (diff) |
unify shared code a bit again to make future syncs easier
From: Alexander von Gernler <grunk@pestilenz.org>
Diffstat (limited to 'usr.sbin/bgpd/imsg.c')
-rw-r--r-- | usr.sbin/bgpd/imsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/imsg.c b/usr.sbin/bgpd/imsg.c index 2ff98af6d82..d631db135eb 100644 --- a/usr.sbin/bgpd/imsg.c +++ b/usr.sbin/bgpd/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.35 2005/03/23 10:46:27 henning Exp $ */ +/* $OpenBSD: imsg.c,v 1.36 2005/04/26 15:18:22 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -136,7 +136,7 @@ imsg_compose(struct imsgbuf *ibuf, enum imsg_type type, u_int32_t peerid, wbuf->fd = fd; if ((n = imsg_close(ibuf, wbuf)) < 0) - return (-1); + return (-1); return (n); } @@ -149,7 +149,7 @@ imsg_create(struct imsgbuf *ibuf, enum imsg_type type, u_int32_t peerid, struct imsg_hdr hdr; if (datalen > MAX_IMSGSIZE - IMSG_HEADER_SIZE) { - log_warnx("imsg_create_core: len %u > MAX_IMSGSIZE; " + log_warnx("imsg_create: len %u > MAX_IMSGSIZE; " "type %u peerid %lu", datalen + IMSG_HEADER_SIZE, type, peerid); return (NULL); |