]> andersk Git - gssapi-openssh.git/blobdiff - openssh/buffer.c
Merged hpn13v5 to trunk.
[gssapi-openssh.git] / openssh / buffer.c
index 1c04cab3901ed9822704b018637a9b0e510f1929..cb0b620703ccadf23ce5eb480c6fdeb6542c018d 100644 (file)
@@ -127,9 +127,7 @@ restart:
 
        /* Increase the size of the buffer and retry. */
        newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ);
-       /* need it to be slightly larger than the MAX LEN for this */
-       /* still investigating *why* but this works for now -cjr */
-       if (newlen > (BUFFER_MAX_LEN_HPN + BUFFER_MAX_LEN)) 
+       if (newlen > BUFFER_MAX_LEN_HPN)
                fatal("buffer_append_space: alloc %u not supported",
                    newlen);
        buffer->buf = xrealloc(buffer->buf, 1, newlen);
This page took 0.423846 seconds and 4 git commands to generate.