string: Rename para_malloc() -> alloc().
[paraslash.git] / sideband.c
index ed7867a1c37027d7a49d1047bd349c5976d0e8d7..cd549ddccb9d98fe43a4605b2c9632f6804490ad 100644 (file)
@@ -266,7 +266,7 @@ int sb_received(struct sb_context *c, size_t nbytes, struct sb_buffer *result)
         */
        if (sbb->iov.iov_len == (size_t)-1)
                return -E_SB_PACKET_SIZE;
-       sbb->iov.iov_base = para_malloc(sbb->iov.iov_len + 1);
+       sbb->iov.iov_base = alloc(sbb->iov.iov_len + 1);
        return 0; /* ready to read body */
 success:
        *result = c->sbb;