|
|
|
@ -164,7 +164,6 @@ scp_v1c_mng_get_session_list(struct SCP_CONNECTION *c, int *scount,
|
|
|
|
|
if (0 != scp_tcp_force_recv(c->in_sck, c->in_s->data, size - 8))
|
|
|
|
|
{
|
|
|
|
|
log_message(LOG_LEVEL_WARNING, "[v1c_mng:%d] connection aborted: network error", __LINE__);
|
|
|
|
|
g_free(ds);
|
|
|
|
|
return SCP_CLIENT_STATE_NETWORK_ERR;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -181,7 +180,6 @@ scp_v1c_mng_get_session_list(struct SCP_CONNECTION *c, int *scount,
|
|
|
|
|
if (cmd != SCP_CMD_MNG_LIST) /* session list */
|
|
|
|
|
{
|
|
|
|
|
log_message(LOG_LEVEL_WARNING, "[v1c_mng:%d] connection aborted: sequence error", __LINE__);
|
|
|
|
|
g_free(ds);
|
|
|
|
|
return SCP_CLIENT_STATE_SEQUENCE_ERR;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|