1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Simplify code a bit.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2010-10-24 15:44:23 +00:00
parent d7be7905ae
commit 1f39b27946
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214276

View File

@ -318,10 +318,8 @@ init_remote(struct hast_resource *res, struct nv *nvin)
(uintmax_t)res->hr_secondary_remotecnt);
}
if (hast_proto_send(res, res->hr_remotein, nvout, map, mapsize) < 0) {
pjdlog_errno(LOG_WARNING, "Unable to send activemap to %s",
pjdlog_exit(EX_TEMPFAIL, "Unable to send activemap to %s",
res->hr_remoteaddr);
nv_free(nvout);
exit(EX_TEMPFAIL);
}
if (map != NULL)
free(map);