fspscan: silence clang warning about empty body in for cycle

This commit is contained in:
Radim Kolar 2014-09-07 11:59:16 +02:00
parent f6d8e6ea78
commit 7f1bad17de

View File

@ -289,7 +289,8 @@ int _x_adr(char *xhost,int port,struct sockaddr_in *his)
if((H = gethostbyname(xhost))) {
for(s = (char *)H->h_addr,
d = (char *)&his->sin_addr,
i = H->h_length; i--; *d++ = *s++);
i = H->h_length; i--; *d++ = *s++)
;
his->sin_family = H->h_addrtype;
} else return(-1);
his->sin_port = htons((unsigned short) port);