From: Ian Jackson Date: Sun, 29 Sep 2019 10:35:30 +0000 (+0100) Subject: site: Move main `struct msg' into site_incoming X-Git-Tag: v0.5.0~143 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=03c9b2ca595aaf5b6ff312f84d9a13c26f4e4fba;hp=03c9b2ca595aaf5b6ff312f84d9a13c26f4e4fba;p=secnet.git site: Move main `struct msg' into site_incoming We are going to want this in more places, and this is going to involve threading it through site_incoming. So make this a local variable there, rather than in each of the process_msgN functions. We rename the variable `named_msg' to `msg': it was called `named_msg' because it was only valid after our calls to named_for_us, but now it is valid after process_msgN too. No overall functional change, except that stack usage is improved (by removing a copy of struct msg). Signed-off-by: Ian Jackson ---