X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=recv_common.c;h=1939300a7c946d68d1b324ee6beb8c0bf146893b;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=169a49675044d6c63b2b872ee8ba1a94aff9c55d;hpb=7e0a0badba66c0cdcb0dcbc8cf3d0f5b71001ca3;p=paraslash.git diff --git a/recv_common.c b/recv_common.c index 169a4967..1939300a 100644 --- a/recv_common.c +++ b/recv_common.c @@ -41,7 +41,7 @@ int check_receiver_arg(const char *ra, struct lls_parse_result **lprp) *lprp = NULL; if (!ra || !*ra) { argc = 1; - argv = para_malloc(2 * sizeof(char*)); + argv = alloc(2 * sizeof(char*)); argv[0] = para_strdup("http"); argv[1] = NULL; } else { @@ -110,7 +110,7 @@ void print_receiver_helps(bool detailed) * \return The status of of the receiver node's buffer tree node. That is, the * return value of the underlying call to \ref btr_node_status(). */ -int generic_recv_pre_select(struct sched *s, struct receiver_node *rn) +int generic_recv_pre_monitor(struct sched *s, struct receiver_node *rn) { int ret = btr_node_status(rn->btrn, 0, BTR_NT_ROOT);