diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 14:23:40 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 14:23:40 +0200 |
commit | 7c253d76ff15e81a4c45f828176d7d24b99132e3 (patch) | |
tree | b989cdb50ffd740472ae8ec24bd4ad8e7a39f577 /code/ecp/timer.c | |
parent | 864680228784322895a07cef388cbdd6e75c3dc0 (diff) |
ecp_timer_retry_t typedef fixed
Diffstat (limited to 'code/ecp/timer.c')
-rw-r--r-- | code/ecp/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/ecp/timer.c b/code/ecp/timer.c index f091464..96a69d0 100644 --- a/code/ecp/timer.c +++ b/code/ecp/timer.c @@ -183,7 +183,7 @@ ecp_cts_t ecp_timer_exe(ECPSocket *sock) { int rv = ECP_OK; ECPConnection *conn = to_exec[i].conn; unsigned char mtype = to_exec[i].mtype; - ecp_timer_retry_t *retry = to_exec[i].retry; + ecp_timer_retry_t retry = to_exec[i].retry; ecp_conn_handler_msg_t *handler = conn->sock->ctx->handler[conn->type] ? conn->sock->ctx->handler[conn->type]->msg[mtype & ECP_MTYPE_MASK] : NULL; if (to_exec[i].cnt > 0) { @@ -211,7 +211,7 @@ ecp_cts_t ecp_timer_exe(ECPSocket *sock) { return ret; } -ssize_t ecp_timer_send(ECPConnection *conn, ecp_timer_retry_t *send_f, unsigned char mtype, short cnt, ecp_cts_t timeout) { +ssize_t ecp_timer_send(ECPConnection *conn, ecp_timer_retry_t send_f, unsigned char mtype, short cnt, ecp_cts_t timeout) { int rv = ECP_OK; ECPTimerItem ti; |