Code Review
/
tldk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
tldk: fix possibility of tle_event_active() from DOWN to UP
[tldk.git]
/
lib
/
libtle_udp
/
tle_event.h
diff --git
a/lib/libtle_udp/tle_event.h
b/lib/libtle_udp/tle_event.h
index
1a5c436
..
9357def
100644
(file)
--- a/
lib/libtle_udp/tle_event.h
+++ b/
lib/libtle_udp/tle_event.h
@@
-168,7
+168,7
@@
tle_event_active(struct tle_event *ev, enum tle_ev_state st)
{
struct tle_evq *q;
- if (
st == ev->state
)
+ if (
ev->state != TLE_SEV_IDLE
)
return;
q = ev->head;