X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=udp_send.c;h=faae208c2d6d9142760d93d2d7033b2b53e9e95f;hp=3379f98d1dcd2f6b205492f13f4a8bd3e2807ac0;hb=6fbd93c8420823356a24a3637d332c23c0c85dcd;hpb=6e0b28e02a1013c019a3225e922b71f913bfbae4 diff --git a/udp_send.c b/udp_send.c index 3379f98d..faae208c 100644 --- a/udp_send.c +++ b/udp_send.c @@ -156,11 +156,6 @@ err: return -ERRNO_TO_PARA_ERROR(errno); } -static void udp_init_session(struct sender_client *sc) -{ - PARA_NOTICE_LOG("sending to udp %s\n", sc->name); -} - static void udp_shutdown_targets(void) { struct sender_client *sc, *tmp; @@ -239,7 +234,7 @@ static int udp_init_fec(struct sender_client *sc) { int mps; - udp_init_session(sc); + PARA_NOTICE_LOG("sending to udp %s\n", sc->name); mps = generic_max_transport_msg_size(sc->fd) - sizeof(struct udphdr); PARA_INFO_LOG("current MPS = %d bytes\n", mps); return mps;