svn commit: r216478 - head/sbin/hastd
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Dec 16 07:29:59 UTC 2010
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;
}
More information about the svn-src-head
mailing list