]> git.tuebingen.mpg.de Git - paraslash.git/commit
udp: initialize common structure only once
authorGerrit Renker <grenker@cscs.ch>
Sun, 30 May 2010 16:06:33 +0000 (18:06 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 9 Jun 2010 17:55:51 +0000 (19:55 +0200)
commit0c395e45939ec272214ea14f3c07fc925a5697f5
tree8030f0e27b43d350a65b99cdd0d75f1a39309684
parent4933008f5d057eddcc0dc9772f46b32b67c91767
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.
udp_send.c