Re: What's wrong with this?
[edit]
Nevermind. (If you actually saw my reply.) Your description of the issue and the actual issue itself are different. You describe it returning a node, and yet it really returns a single character. Your terminology threw me off in my answer.
[/edit]
On a side note, you should be also checking for a NULL on that return. Otherwise, it's possible for an empty stack to let your loop continue indefinately.
You'll need to provide more code for us to correctly provide a cause/resolution to your problem.
Quzah.