aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 22:21:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 22:21:51 +0000
commit99df48d70f10dcf8f95d4684262a3392d72ee9c6 (patch)
treee3e7768fa327c937e15a35579c8ce3362ff96f51 /cmd.c
parent28aefe41623daba7685fe54ceb0b6952d5f6d98a (diff)
downloadrtmux-99df48d70f10dcf8f95d4684262a3392d72ee9c6.tar.gz
rtmux-99df48d70f10dcf8f95d4684262a3392d72ee9c6.tar.bz2
rtmux-99df48d70f10dcf8f95d4684262a3392d72ee9c6.zip
Trimify.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd.c b/cmd.c
index 2e83e30e..26fc5ce8 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.48 2008-06-16 22:03:27 nicm Exp $ */
+/* $Id: cmd.c,v 1.49 2008-06-18 22:21:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -262,10 +262,10 @@ cmd_current_session(struct cmd_ctx *ctx)
}
return (s);
}
-
+
ts = NULL;
for (i = 0; i < ARRAY_LENGTH(&sessions); i++) {
- s = ARRAY_ITEM(&sessions, i);
+ s = ARRAY_ITEM(&sessions, i);
if (s != NULL && (ts == NULL || timespeccmp(&s->ts, ts, >))) {
newest = ARRAY_ITEM(&sessions, i);
ts = &s->ts;
@@ -278,7 +278,7 @@ struct client *
cmd_find_client(struct cmd_ctx *ctx, const char *arg)
{
struct client *c;
-
+
if ((c = arg_parse_client(arg)) == NULL)
c = ctx->curclient;
if (c == NULL) {