summaryrefslogtreecommitdiff
path: root/code/core/timer.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-07-17 21:36:47 +0200
committerUros Majstorovic <majstor@majstor.org>2017-07-17 21:36:47 +0200
commit37f628a88d800123dbad003b122322e8181c3baa (patch)
tree92e97f0fdf7d8a03e8ac379af951ecf3593340d8 /code/core/timer.c
parent06f74eed2686a9cab4191908c3fd30f0c15a380b (diff)
seq added to msg handler
Diffstat (limited to 'code/core/timer.c')
-rw-r--r--code/core/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/core/timer.c b/code/core/timer.c
index 47a3b9d..0d06ba4 100644
--- a/code/core/timer.c
+++ b/code/core/timer.c
@@ -195,9 +195,9 @@ unsigned int ecp_timer_exe(ECPSocket *sock) {
if (_rv < 0) rv = _rv;
}
if (!rv) rv = ecp_timer_push(to_exec+i);
- if (rv && (rv != ECP_ERR_CLOSED) && handler) handler(conn, mtype, NULL, rv);
+ if (rv && (rv != ECP_ERR_CLOSED) && handler) handler(conn, 0, mtype, NULL, rv);
} else if (handler) {
- handler(conn, mtype, NULL, ECP_ERR_TIMEOUT);
+ handler(conn, 0, mtype, NULL, ECP_ERR_TIMEOUT);
}
#ifdef ECP_WITH_PTHREAD
pthread_mutex_lock(&conn->mutex);