summaryrefslogtreecommitdiffstats
path: root/paste.c
diff options
context:
space:
mode:
authornicm <nicm>2015-10-27 15:58:42 +0000
committernicm <nicm>2015-10-27 15:58:42 +0000
commit44657bf932b068aff5ce1019a4e8a2e7b00b5321 (patch)
tree9efb1fa8a96b0a362a51d894bd36c45aa9731a98 /paste.c
parent67c3a014b960b8c1d7931d3c99f570610b1d4d3f (diff)
Move struct options into options.c.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste.c b/paste.c
index 44f88d0b..ad3b56b5 100644
--- a/paste.c
+++ b/paste.c
@@ -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;