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>
Thu, 2 Oct 2014 15:40:17 +0000 (16:40 +0100)
commit3e55608636ee89cfa6894539f179d33a46174fab
tree096c4cf043d0875fa4d1c6fe24436afa63dd5187
parentbab7e6d2529febad8715ba3dc8d9950f47322c76
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