X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sync_filter.c;h=8e9ff2c5de79a6385b6472453f3dec417b9ac5cc;hp=efc10116f788a79bee5e2e75dfdfc0e036d06f1a;hb=8af63afe0ce633fd488f0669614e2d08680f90bc;hpb=8d106ca317a2c42f35a86ba244f843688f6939e6 diff --git a/sync_filter.c b/sync_filter.c index efc10116..8e9ff2c5 100644 --- a/sync_filter.c +++ b/sync_filter.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2013 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2013 Andre Noll , see file COPYING. */ /** \file sync_filter.c Playback synchronization filter. */ @@ -107,7 +103,7 @@ static void sync_open(struct filter_node *fn) const struct lls_opt_result *r_b; ctx = fn->private_data = para_calloc(sizeof(*ctx)); - INIT_LIST_HEAD(&ctx->buddies); + init_list_head(&ctx->buddies); /* create socket to listen for incoming packets */ ret = makesock( @@ -369,7 +365,8 @@ success: ret = -E_SYNC_COMPLETE; /* success */ goto out; fail: - PARA_WARNING_LOG("%s\n", para_strerror(-ret)); + if (ret != -E_BTR_EOF) + PARA_WARNING_LOG("%s\n", para_strerror(-ret)); out: sync_close_buddies(ctx); btr_splice_out_node(&fn->btrn);