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 /input.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 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -909,7 +909,7 @@ input_ground(struct input_ctx *ictx) if (ictx->input_space > INPUT_BUF_START) { ictx->input_space = INPUT_BUF_START; - ictx->input_buf = xrealloc(ictx->input_buf, 1, INPUT_BUF_START); + ictx->input_buf = xrealloc(ictx->input_buf, INPUT_BUF_START); } } @@ -974,7 +974,7 @@ input_input(struct input_ctx *ictx) ictx->flags |= INPUT_DISCARD; return (0); } - ictx->input_buf = xrealloc(ictx->input_buf, 1, available); + ictx->input_buf = xrealloc(ictx->input_buf, available); ictx->input_space = available; } ictx->input_buf[ictx->input_len++] = ictx->ch; |