Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31578

Modified Files:
        cmd-set-option.c 
Log Message:
Sync OpenBSD patchset 830:

argc will be 1 not 2 with no option value.


Index: cmd-set-option.c
===================================================================
RCS file: /cvsroot/tmux/tmux/cmd-set-option.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- cmd-set-option.c    7 Jan 2011 14:45:34 -0000       1.105
+++ cmd-set-option.c    7 Jan 2011 14:51:54 -0000       1.106
@@ -115,7 +115,7 @@
                ctx->error(ctx, "invalid option");
                return (-1);
        }
-       if (args->argc < 1)
+       if (args->argc < 2)
                valstr = NULL;
        else
                valstr = args->argv[1];


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to