Understood. I wasn't sure you would; I just dislike duplicating the same

if ((path = makesockpath(...)) == NULL) {
    give_an_error_msg();
    exit(1);
}

twice in a row (once in one branch, and again in a branch of an outer
if, IIRC - wherever the xmakesockpath calls are now). And avoiding the
double with either an extra flag var (which I know you're not crazy
about) or a goto looked even uglier to me. Maybe you'll find a solution
you like better.

-mjc

Nicholas Marriott wrote:
> Nice idea, will have a better look tonight but I'm not sure I like
> the idea of makesockpath calling exit().

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to