Remove accidental double cmnd_exec_logout() call noticed by Alexey Obitotskiy <alexey...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 9 Mar 2010 11:21:27 +0000 (11:21 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 9 Mar 2010 11:21:27 +0000 (11:21 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1537 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/usr/iscsid.c

index f4249f9..6bf9aa4 100644 (file)
@@ -977,7 +977,6 @@ int cmnd_execute(struct connection *conn)
                        cmnd_reject(conn, ISCSI_REASON_PROTOCOL_ERROR);
                else
                        cmnd_exec_logout(conn);
-               cmnd_exec_logout(conn);
                break;
        default:
                cmnd_reject(conn, ISCSI_REASON_UNSUPPORTED_COMMAND);