Re: [Tcl9-cloverfield] Happy new year!
Status: Alpha
Brought to you by:
fbonnet
From: Andy G. <unu...@ai...> - 2009-01-21 05:53:10
|
"Andy Goth" <unu...@ai...> wrote: > void process_list(node* head) > { > int index; > node* current = head; > while (1) { > current = get_node_by_index(head, index); > if (current == NULL) { > break; > } > process_node(head); > } > } Oops. Add a ++index; in there, will ya? -- Andy Goth | http://andy.junkdrome.org/ unununium@{aircanopy.net,openverse.com} |