mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Whoops, these need to be terminated.
This commit is contained in:
parent
0683ae4e47
commit
2aacbe764c
4
op.c
4
op.c
@ -1,4 +1,4 @@
|
||||
/* $Id: op.c,v 1.3 2007-09-26 18:14:48 nicm Exp $ */
|
||||
/* $Id: op.c,v 1.4 2007-09-26 18:18:39 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -31,6 +31,7 @@ op_new(char *path, int argc, char **argv)
|
||||
char name[MAXNAMELEN];
|
||||
int opt;
|
||||
|
||||
*name = '\0';
|
||||
optind = 1;
|
||||
while ((opt = getopt(argc, argv, "n:?")) != EOF) {
|
||||
switch (opt) {
|
||||
@ -69,6 +70,7 @@ op_attach(char *path, int argc, char **argv)
|
||||
char name[MAXNAMELEN];
|
||||
int opt;
|
||||
|
||||
*name = '\0';
|
||||
optind = 1;
|
||||
while ((opt = getopt(argc, argv, "n:?")) != EOF) {
|
||||
switch (opt) {
|
||||
|
Loading…
Reference in New Issue
Block a user