Remove commented-out code

The function sesexce_scp_data_in in sesexec.c is a development
artefact and can safely be removed
This commit is contained in:
matt335672
2024-12-16 16:17:13 +00:00
parent a341d44e1b
commit d55c7e7cb7
-24
View File
@@ -119,30 +119,6 @@ process_params(int argc, char **argv,
return 0;
}
/******************************************************************************/
#if 0
static int
sesexec_scp_data_in(struct trans *self)
{
int rv;
int available;
rv = scp_msg_in_check_available(self, &available);
if (rv == 0 && available)
{
struct sesman_con *sc = (struct sesman_con *)self->callback_data;
//if ((rv = scp_process(sc)) != 0)
{
LOG(LOG_LEVEL_ERROR, "%s: scp_process failed", __func__);
}
scp_msg_in_reset(self);
}
return rv;
}
#endif
/******************************************************************************/
static int
sesexec_eicp_data_in(struct trans *self)