projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6494997
)
Initialize count to 0 in wl_list_length().
author
Kristian Høgsberg
<krh@redhat.com>
Sun, 14 Dec 2008 20:52:34 +0000
(15:52 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Sun, 14 Dec 2008 20:52:34 +0000
(15:52 -0500)
Not sure how this ever really worked before...
wayland-util.c
patch
|
blob
|
history
diff --git
a/wayland-util.c
b/wayland-util.c
index
1a154ac
..
610532f
100644
(file)
--- a/
wayland-util.c
+++ b/
wayland-util.c
@@
-121,6
+121,7
@@
wl_list_length(struct wl_list *list)
struct wl_list *e;
int count;
+ count = 0;
e = list->next;
while (e != list) {
e = e->next;