Final missing print function.

This commit is contained in:
Nicholas Marriott
2008-06-05 21:54:47 +00:00
parent 0b9b873a55
commit 741f8967b4
3 changed files with 27 additions and 6 deletions

6
arg.c
View File

@@ -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) {