aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmux.c')
-rw-r--r--src/osmux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c
index 5cd586c..a2c123c 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -599,10 +599,9 @@ osmux_tx_sched(struct llist_head *list,
LOGP(DLMIB, LOGL_DEBUG, "scheduled transmision in %lu.%6lu "
"seconds, msg=%p\n", when.tv_sec, when.tv_usec, cur);
-
+ llist_del(&cur->list);
osmux_tx(cur, &when, tx_cb, data);
timeradd(&when, &delta, &when);
- llist_del(&cur->list);
}
}