Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 15:08:33 +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: r271028 - head/lib/libnv
Message-ID:  <201409031508.s83F8Xhg081282@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Wed Sep  3 15:08:33 2014
New Revision: 271028
URL: http://svnweb.freebsd.org/changeset/base/271028

Log:
  Use better type for i.

Modified:
  head/lib/libnv/nvlist.c

Modified: head/lib/libnv/nvlist.c
==============================================================================
--- head/lib/libnv/nvlist.c	Wed Sep  3 15:06:47 2014	(r271027)
+++ head/lib/libnv/nvlist.c	Wed Sep  3 15:08:33 2014	(r271028)
@@ -727,8 +727,8 @@ nvlist_recv(int sock)
 	struct nvlist_header nvlhdr;
 	nvlist_t *nvl, *ret;
 	unsigned char *buf;
-	size_t nfds, size;
-	int serrno, i, *fds;
+	size_t nfds, size, i;
+	int serrno, *fds;
 
 	if (buf_recv(sock, &nvlhdr, sizeof(nvlhdr)) == -1)
 		return (NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409031508.s83F8Xhg081282>