Re: Cautions with g_list_next()
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Cautions with g_list_next()
- Date: Tue, 12 Sep 2006 07:25:17 +0200
On Tue, Sep 12, 2006 at 12:15:13AM -0300, Fabricio Rocha wrote:
element = g_list_first (member->names);
while (element) {
...
element = g_list_next (member->names);
}
... which led the program to an infinite loop because "element" would
NOT acquire the 0x0 (NULL) value from "element->next" as expected.
???
How it could acquire anything from element when you use it
on member->names?
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]