diff options
author | Thomas Adam <thomas@xteddy.org> | 2014-10-16 16:46:31 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2014-10-16 16:46:31 +0100 |
commit | a77355b6bf9a0beb2e9d0a8b9613266984bb598d (patch) | |
tree | 38ca21b0aeb986adea2de22cc12adda8a52cf4c5 /cmd-set-buffer.c | |
parent | 2874a431c050527244a56e7f241baf053c722f88 (diff) | |
parent | a27ba6e38006c12c48de88600b8cff9f6aabfed7 (diff) | |
download | rtmux-a77355b6bf9a0beb2e9d0a8b9613266984bb598d.tar.gz rtmux-a77355b6bf9a0beb2e9d0a8b9613266984bb598d.tar.bz2 rtmux-a77355b6bf9a0beb2e9d0a8b9613266984bb598d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-buffer.c')
-rw-r--r-- | cmd-set-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-buffer.c b/cmd-set-buffer.c index 82922279..a5ecfef4 100644 --- a/cmd-set-buffer.c +++ b/cmd-set-buffer.c @@ -104,7 +104,7 @@ cmd_set_buffer_exec(struct cmd *self, struct cmd_q *cmdq) memcpy(pdata, pb->data, psize); } - pdata = xrealloc(pdata, 1, psize + newsize); + pdata = xrealloc(pdata, psize + newsize); memcpy(pdata + psize, args->argv[0], newsize); psize += newsize; |