Retry properly when failed to connect.

pull/1/head
Nicholas Marriott 2009-01-15 00:21:24 +00:00
parent a1cb652643
commit 668dac5b12
2 changed files with 4 additions and 2 deletions

2
TODO
View File

@ -65,10 +65,12 @@
swap-panes
close-pane
move-pane (to window)
kill all but current
should be able to move to a hidden pane and it would be moved into view
- would be nice if tmux could be the shell
- fix rxvt cursor fg issue (text under cursor has non-white fg)
- key handling sucks a bit and needs to be reworked
- window selection mode a la C-a " in screen
for 0.6:
- document OPTIONS section in man page with description of new option handling

View File

@ -1,4 +1,4 @@
/* $Id: client.c,v 1.37 2009-01-11 00:48:42 nicm Exp $ */
/* $Id: client.c,v 1.38 2009-01-15 00:21:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -82,7 +82,7 @@ retry:
if (server_start(path) != 0)
goto no_start;
}
goto fail;
goto retry;
}
if ((mode = fcntl(cctx->srv_fd, F_GETFL)) == -1)