diff --git a/common/iobuf.c b/common/iobuf.c index fb9a620db..23d14e6af 100644 --- a/common/iobuf.c +++ b/common/iobuf.c @@ -1234,7 +1234,7 @@ iobuf_temp_with_content (const char *buffer, size_t length) iobuf_t a; int i; - a = iobuf_alloc (IOBUF_TEMP, length); + a = iobuf_alloc (IOBUF_INPUT, length); /* memcpy (a->d.buf, buffer, length); */ for (i=0; i < length; i++) a->d.buf[i] = buffer[i];