Fix broken singly-linked list implementation
Fix broken singly-linked list implementation

I had a list whose head was fine, but whose next was always itself, since
I was taking the address of the field in the QueryResult structure.
This led to fun infinite loops while walking the list.

jeremy-w/BonjourToUnbound