INIT fix typo in iscsi_parse_url()

This commit is contained in:
Peter Lieven
2012-10-30 21:00:46 +01:00
parent a9257d52a7
commit 1d348de71f

View File

@@ -402,7 +402,7 @@ iscsi_parse_url(struct iscsi_context *iscsi, const char *url, int full)
if (user != NULL && passwd != NULL) {
strncpy(iscsi_url->user,user,MAX_STRING_SIZE);
strncpy(iscsi_url->user,passwd,MAX_STRING_SIZE);
strncpy(iscsi_url->passwd,passwd,MAX_STRING_SIZE);
}
if (full) {