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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to