summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-10-27 15:58:42 +0000
committernicm <nicm@openbsd.org>2015-10-27 15:58:42 +0000
commitd89252e541ebb5e90a6b7e1089b8f396e19ca235 (patch)
tree6fd0ce863c715f2818c48c94c4f8de9afdb057e9 /usr.bin/tmux/paste.c
parentUse AF_UNIX instead of AF_LOCAL. (diff)
downloadwireguard-openbsd-d89252e541ebb5e90a6b7e1089b8f396e19ca235.tar.xz
wireguard-openbsd-d89252e541ebb5e90a6b7e1089b8f396e19ca235.zip
Move struct options into options.c.
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r--usr.bin/tmux/paste.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c
index d3f5dd70e88..c500a47db2b 100644
--- a/usr.bin/tmux/paste.c
+++ b/usr.bin/tmux/paste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paste.c,v 1.31 2015/09/14 13:22:02 nicm Exp $ */
+/* $OpenBSD: paste.c,v 1.32 2015/10/27 15:58:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -151,7 +151,7 @@ paste_add(char *data, size_t size)
if (size == 0)
return;
- limit = options_get_number(&global_options, "buffer-limit");
+ limit = options_get_number(global_options, "buffer-limit");
RB_FOREACH_REVERSE_SAFE(pb, paste_time_tree, &paste_by_time, pb1) {
if (paste_num_automatic < limit)
break;