]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_recv.c
string: Rename para_malloc() -> alloc().
[paraslash.git] / afh_recv.c
index 6a0ec239bbcbd120efd130b5f8f24c2b136d4516..e7f85a1bd5a6dce0c8c256b22e52e2c1c9bf9ece 100644 (file)
@@ -188,7 +188,7 @@ static int afh_recv_post_select(__a_unused struct sched *s, void *context)
                        pard->map_size, &header, &size);
                if (size > 0) {
                        PARA_INFO_LOG("writing header (%zu bytes)\n", size);
-                       buf = para_malloc(size);
+                       buf = alloc(size);
                        memcpy(buf, header, size);
                        btr_add_output(buf, size, btrn);
                        afh_free_header(header, pard->audio_format_num);