Would it be generally cleaner to just allocate the "m" struct with pa_xnew0() rather than pa_xnew()? That way neither n_waiting nor n_waiting_for_accept need to be explicitly set. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]