[6/8] libsi: Remove mixed sign comparison in loop condition

Submitted by Chuck Lever on Oct. 21, 2013, 9:51 p.m.

Details

Message ID 20131021215126.38809.18524.stgit@manray.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Oct. 21, 2013, 9:51 p.m.
Clean up.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 src/libsi/getsrvinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/libsi/getsrvinfo.c b/src/libsi/getsrvinfo.c
index c0f433f..5338454 100644
--- a/src/libsi/getsrvinfo.c
+++ b/src/libsi/getsrvinfo.c
@@ -208,8 +208,8 @@  getsrvinfo(const char *srvname, const char *domainname, struct srvinfo **si)
 {
 	unsigned char *msg, *comp_dn;
 	struct srvinfo *results;
-	unsigned short count;
-	int status, i, len;
+	unsigned short count, i;
+	int status, len;
 	char *exp_dn;
 	HEADER *hdr;