Date: Thu, 16 Dec 2010 07:29:58 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r216478 - head/sbin/hastd Message-ID: <201012160729.oBG7TwLB029874@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Thu Dec 16 07:29:58 2010 New Revision: 216478 URL: http://svn.freebsd.org/changeset/base/216478 Log: Don't ignore errors from remote requests. MFC after: 3 days Modified: head/sbin/hastd/primary.c Modified: head/sbin/hastd/primary.c ============================================================================== --- head/sbin/hastd/primary.c Thu Dec 16 07:28:40 2010 (r216477) +++ head/sbin/hastd/primary.c Thu Dec 16 07:29:58 2010 (r216478) @@ -1445,7 +1445,7 @@ remote_recv_thread(void *arg) error = nv_get_int16(nv, "error"); if (error != 0) { /* Request failed on remote side. */ - hio->hio_errors[ncomp] = 0; + hio->hio_errors[ncomp] = error; nv_free(nv); goto done_queue; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012160729.oBG7TwLB029874>