From: Gerrit Renker Date: Sun, 30 May 2010 16:06:33 +0000 (+0200) Subject: udp: initialize common structure only once X-Git-Tag: v0.4.3~13^2~3 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=0c395e45939ec272214ea14f3c07fc925a5697f5;hp=0c395e45939ec272214ea14f3c07fc925a5697f5 udp: initialize common structure only once When temporarily closing the UDP stream (e.g. due to 'next' or 'ff' command), the UDP file descriptor need not be closed. Hence this patch moves its initialization into the add_target() function. The patch also factors global variables out of mcast_sender_setup() function. ---