iscsi-scstd: Fix a dereference-before-null-check

Detected by Coverity.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6370 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-06-17 00:23:14 +00:00
parent b099782023
commit 21b60063a9

View File

@@ -245,7 +245,7 @@ static struct __qelem *account_list_get(struct target *target, int dir)
char *config_sep_string(char **pp)
{
char *p = *pp;
char *p;
char *q;
static char blank = '\0';