X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sideband.c;h=d4876234a192a956f112c48f871ed1fb0d5321b7;hb=refs%2Fheads%2Fnext;hp=cd549ddccb9d98fe43a4605b2c9632f6804490ad;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/sideband.c b/sideband.c index cd549ddc..d4876234 100644 --- a/sideband.c +++ b/sideband.c @@ -37,7 +37,7 @@ struct sb_context { struct sb_context *sb_new_recv(size_t max_size, sb_transformation t, void *trafo_context) { - struct sb_context *c = para_calloc(sizeof(*c)); + struct sb_context *c = zalloc(sizeof(*c)); c->max_size = max_size; c->trafo = t; @@ -62,7 +62,7 @@ struct sb_context *sb_new_recv(size_t max_size, sb_transformation t, struct sb_context *sb_new_send(struct sb_buffer *sbb, bool dont_free, sb_transformation t, void *trafo_context) { - struct sb_context *c = para_calloc(sizeof(*c)); + struct sb_context *c = zalloc(sizeof(*c)); struct iovec src, dst, *srcp, *dstp; assert(sbb);