X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_send.c;h=96a25d370a99d3fdcb6782ef9451ae86b1cfc3a4;hb=c22c653634658511cd10c423840ca462ba8b12b3;hp=52947b20610a6b26280755cf0ddb5125ac5ae8a2;hpb=ac4e01ba1a2f302bf31dd511a7aff8da78660b15;p=paraslash.git diff --git a/udp_send.c b/udp_send.c index 52947b20..96a25d37 100644 --- a/udp_send.c +++ b/udp_send.c @@ -18,13 +18,13 @@ #include "error.h" #include "string.h" #include "afh.h" +#include "net.h" #include "server.h" #include "list.h" #include "send.h" #include "sched.h" #include "vss.h" #include "portable_io.h" -#include "net.h" #include "fd.h" #include "close_on_fork.h" @@ -56,6 +56,8 @@ static void udp_close_target(struct sender_client *sc) size_t len; struct udp_target *ut = sc->private_data; + if (process_is_command_handler()) + return; if (ut->sent_fec_eof) return; PARA_NOTICE_LOG("sending FEC EOF\n");