]> andersk Git - openssh.git/blobdiff - buffer.c
- djm@cvs.openbsd.org 2006/03/25 01:13:23
[openssh.git] / buffer.c
index 08682e0f125bd17b03ce4a940ce8a92c1bf883b4..1666f742e7f7a123b8449d90f68870c41cb7224a 100644 (file)
--- a/buffer.c
+++ b/buffer.c
@@ -109,7 +109,7 @@ restart:
        if (newlen > BUFFER_MAX_LEN)
                fatal("buffer_append_space: alloc %u not supported",
                    newlen);
-       buffer->buf = xrealloc(buffer->buf, newlen);
+       buffer->buf = xrealloc(buffer->buf, 1, newlen);
        buffer->alloc = newlen;
        goto restart;
        /* NOTREACHED */
This page took 0.38057 seconds and 4 git commands to generate.