iscsi-scstd: Move two local variables to suppress a Coverity complaint

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-17 00:24:03 +00:00
parent 41caee3148
commit 102d8d54c9

View File

@@ -654,7 +654,6 @@ static int address_match(struct sockaddr *sa1, struct sockaddr *sa2)
static int __initiator_match(int fd, char *str)
{
struct sockaddr_storage from;
struct addrinfo hints, *res;
socklen_t len;
char *p, *q;
int err = 0;
@@ -664,6 +663,8 @@ static int __initiator_match(int fd, char *str)
return 0;
while ((p = strsep(&str, ","))) {
struct addrinfo hints, *res;
while (isblank(*p))
p++;