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>
Wed, 8 Oct 2014 17:25:19 +0000 (18:25 +0100)
commitbb97cc9dc940ae223385dd10c417ac33c2f92614
tree7cb1ba3dac111c6276ae72d14dd0c03b0601315e
parent6c35e03d99f1b8158f57dffb6f3fa1aa17f649fc
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