X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_send.c;h=35637f7ada278e9dcfbe06d8447c0ec58aadc457;hb=23b1141809ea872a144d8dbe6d123e93e74094de;hp=ba7163a8dcdbcffcc9f60772a7d34c5f3c0aec28;hpb=939ece34a0c1ae2f8c32436d31ed18de6b3c24b5;p=paraslash.git diff --git a/udp_send.c b/udp_send.c index ba7163a8..35637f7a 100644 --- a/udp_send.c +++ b/udp_send.c @@ -43,8 +43,6 @@ struct udp_target { /** Track time (seconds) of last ICMP Port Unreachable error */ time_t last_unreachable; - /** Common sender client data */ - struct sender_client *sc; /** The opaque structure returned by vss_add_fec_client(). */ struct fec_client *fc; /** The FEC parameters for this target. */ @@ -339,7 +337,7 @@ static int udp_com_add(struct sender_command_data *scd) return -E_TARGET_EXISTS; } ut = para_calloc(sizeof(*ut)); - sc = ut->sc = para_calloc(sizeof(*sc)); + sc = para_calloc(sizeof(*sc)); ut->fcp.slices_per_group = scd->slices_per_group; ut->fcp.data_slices_per_group = scd->data_slices_per_group; ut->fcp.init_fec = udp_init_fec;