aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTheo Deraadt <deraadt@openbsd.org>2009-10-26 21:42:04 +0000
committerTheo Deraadt <deraadt@openbsd.org>2009-10-26 21:42:04 +0000
commited62d1263ca180e8b088111bf77b8c7b4b2073de (patch)
tree5fd748fd66f696e05a275d5a4d58486c9d160cfe /tmux.c
parenta8b1379ccbfbe7f1d7732147c4969bb92499555d (diff)
downloadrtmux-ed62d1263ca180e8b088111bf77b8c7b4b2073de.tar.gz
rtmux-ed62d1263ca180e8b088111bf77b8c7b4b2073de.tar.bz2
rtmux-ed62d1263ca180e8b088111bf77b8c7b4b2073de.zip
tabs are better; ok nicm
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmux.c b/tmux.c
index add7289e..51f8dbef 100644
--- a/tmux.c
+++ b/tmux.c
@@ -344,10 +344,10 @@ main(int argc, char **argv)
case 'v':
debug_level++;
break;
- default:
+ default:
usage();
- }
- }
+ }
+ }
argc -= optind;
argv += optind;
@@ -569,7 +569,7 @@ main(int argc, char **argv)
if (pfd.revents & (POLLERR|POLLHUP|POLLNVAL))
fatalx("socket error");
- if (pfd.revents & POLLIN) {
+ if (pfd.revents & POLLIN) {
if (dispatch_imsg(ibuf, shellcmd, &retcode) != 0)
break;
}
@@ -594,7 +594,7 @@ dispatch_imsg(struct imsgbuf *ibuf, const char *shellcmd, int *retcode)
struct msg_print_data printdata;
struct msg_shell_data shelldata;
- if ((n = imsg_read(ibuf)) == -1 || n == 0)
+ if ((n = imsg_read(ibuf)) == -1 || n == 0)
fatalx("imsg_read failed");
for (;;) {