int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data)
{
int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data)
{
/* check if we have a target portal group tag */
if ((str = rindex(addr, ',')) != NULL) {
/* check if we have a target portal group tag */
if ((str = rindex(addr, ',')) != NULL) {