Code: while(n=pop(&list)) when its going to end?
while(n=pop(&list))
It runs until pop returns 0 ( NULL ). Kurt