Revision: 2573
          http://tmux.svn.sourceforge.net/tmux/?rev=2573&view=rev
Author:   tcunha
Date:     2011-08-04 17:04:08 +0000 (Thu, 04 Aug 2011)

Log Message:
-----------
Sync OpenBSD patchset 940:

Do not require a client here, or pipe-pane will not work from the
command line.

Modified Paths:
--------------
    trunk/cmd-pipe-pane.c

Modified: trunk/cmd-pipe-pane.c
===================================================================
--- trunk/cmd-pipe-pane.c       2011-08-04 17:03:29 UTC (rev 2572)
+++ trunk/cmd-pipe-pane.c       2011-08-04 17:04:08 UTC (rev 2573)
@@ -54,11 +54,9 @@
        char                    *command;
        int                      old_fd, pipe_fd[2], null_fd;
 
-       if ((c = cmd_find_client(ctx, NULL)) == NULL)
-               return (-1);
-
        if (cmd_find_pane(ctx, args_get(args, 't'), NULL, &wp) == NULL)
                return (-1);
+       c = cmd_find_client(ctx, NULL);
 
        /* Destroy the old pipe. */
        old_fd = wp->pipe_fd;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to