mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-19 01:46:33 +02:00
Final missing print function.
This commit is contained in:
6
arg.c
6
arg.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: arg.c,v 1.1 2008-06-05 21:25:00 nicm Exp $ */
|
||||
/* $Id: arg.c,v 1.2 2008-06-05 21:54:47 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@@ -79,7 +79,7 @@ arg_parse_client(const char *arg)
|
||||
if (arg2[n - 1] == ':')
|
||||
arg2[n - 1] = '\0';
|
||||
|
||||
/* Try and lookup the client name. */
|
||||
/* Try and look up the client name. */
|
||||
c = arg_lookup_client(arg2);
|
||||
xfree(arg2);
|
||||
return (c);
|
||||
@@ -154,7 +154,7 @@ arg_parse_window(const char *arg, struct session **s, int *idx)
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* If missing, try as an index, else lookup immediately. */
|
||||
/* If missing, try as an index, else look up immediately. */
|
||||
if (ptr == NULL) {
|
||||
*idx = strtonum(arg2, 0, INT_MAX, &errstr);
|
||||
if (errstr == NULL) {
|
||||
|
Reference in New Issue
Block a user