On Wed, 23 Mar 2022 16:59:06 +0100, Otto Moerbeek wrote: > This is a bug that dlg reported last week. Serendepity or not? :-) > > This is my diff that uses an approach I like a litle bit better.
Since client_peer_init() is always called after new_peer() there's no reason I can see for query to be a pointer. You diff seems better to me too. - todd