projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5136c6
)
test: fix infinite loop in litest_wait_for_event_of_type()
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 1 Sep 2014 02:39:38 +0000
(12:39 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 1 Sep 2014 05:37:25 +0000
(15:37 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index
47a7776
..
7d064d7
100644
(file)
--- a/
test/litest.c
+++ b/
test/litest.c
@@
-802,6
+802,7
@@
litest_wait_for_event_of_type(struct libinput *li, ...)
assert(type > 0);
assert(ntypes < ARRAY_LENGTH(types));
types[ntypes++] = type;
+ type = va_arg(args, int);
}
va_end(args);