chiark / gitweb /
udp: Introduce some `us' convenience variables, etc.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Sep 2014 14:01:05 +0000 (15:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 21 Oct 2014 00:07:09 +0000 (01:07 +0100)
commit56c8ed69eff8342f692c427ce3d2cab6fd557001
tree7cb1ba3dac111c6276ae72d14dd0c03b0601315e
parentc921f0c57414017ae53f7a14513e8f2188d4a61e
udp: Introduce some `us' convenience variables, etc.

* Introduce appropriate `struct udpsock *us' in a few places, and use
  them as appropriate.  We are going to make a few more places where
  these are used and this avoids some repetition.

* Introduce an `af' variable for the intended destination address
  family at one point.  We are going to want to reuse this.

* Add a comment on a line `} else {' distant from its `if (..) {'.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
udp.c