From 72089204997bf4fd873695ef23f17f6d44ea2737 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 16 Dec 2010 07:29:58 +0000 Subject: [PATCH] Don't ignore errors from remote requests. MFC after: 3 days --- sbin/hastd/primary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index 0f9404bbe85f..879124f3dbf9 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -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; }