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>
Mon, 29 Sep 2014 15:20:02 +0000 (16:20 +0100)
commit3662bc5f8734c05b258e8b9a0ef3ff0148b25cc7
treea752ac45ecb77a3446b6a59515ac0c2ced75d181
parent0115ba673237cca068f9ab8a75f3cc46a9974793
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