summaryrefslogtreecommitdiffstats
path: root/src/server/iscsi.c
diff options
context:
space:
mode:
authorSimon Rettberg2025-11-11 14:31:18 +0100
committerSimon Rettberg2025-12-09 15:33:21 +0100
commit7d6ae6b1fcbf77d70ab65c3e747037eb457fe2bd (patch)
treeea2687e95d196c51f037b3edeeef8d32d7e007d5 /src/server/iscsi.c
parent[SERVER] iscsi: Remove unused defines, move session into connection (diff)
downloaddnbd3-7d6ae6b1fcbf77d70ab65c3e747037eb457fe2bd.tar.gz
dnbd3-7d6ae6b1fcbf77d70ab65c3e747037eb457fe2bd.tar.xz
dnbd3-7d6ae6b1fcbf77d70ab65c3e747037eb457fe2bd.zip
[SERVER] iscsi: fix typo
Diffstat (limited to 'src/server/iscsi.c')
-rw-r--r--src/server/iscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/iscsi.c b/src/server/iscsi.c
index 18fefe1..1b29dbe 100644
--- a/src/server/iscsi.c
+++ b/src/server/iscsi.c
@@ -3107,7 +3107,7 @@ if ( pairs->key != NULL ) ADD_KV_INTERNAL( false, #key, value ); \
* @param[in] pairs Readily parsed key-value-pairs from according request
* @return 0 on success, a negative error code otherwise.
*/
-static int iscsi_connecction_handle_login_response(iscsi_connection *conn, iscsi_pdu *login_response_pdu, const iscsi_negotiation_kvp *pairs)
+static int iscsi_connection_handle_login_response(iscsi_connection *conn, iscsi_pdu *login_response_pdu, const iscsi_negotiation_kvp *pairs)
{
if ( iscsi_connection_pdu_resize( login_response_pdu, 0, ISCSI_DEFAULT_RECV_DS_LEN ) == NULL ) {
return ISCSI_CONNECT_PDU_READ_ERR_LOGIN_RESPONSE;
@@ -3232,7 +3232,7 @@ static int iscsi_connection_handle_login_req(iscsi_connection *conn, iscsi_pdu *
return iscsi_send_login_response_pdu( conn, &login_response_pdu );
}
- iscsi_connecction_handle_login_response( conn, &login_response_pdu, &pairs );
+ iscsi_connection_handle_login_response( conn, &login_response_pdu, &pairs );
if ( conn->state == ISCSI_CONNECT_STATE_NORMAL_SESSION ) {
conn->cid = iscsi_get_be16(login_req_pkt->cid);
}