commit | 67266dc25c4973be37ff11d277aa598456a0f38d | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Thu Jul 30 20:57:39 2009 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Thu Jul 30 20:57:39 2009 +0000 |
tree | ac5f5c3bc537dddf7ca535259aac4ac55f3933c2 | |
parent | 817e93ac947226f83d7b2b8927fbec4cf6293d44 [diff] |
Sync OpenBSD patchset 202: There aren't many client message types or code to handle them so get rid of the lookup table and use a switch, merge the tiny handler functions into it, and move the whole lot to client.c. Also change client_msg_dispatch to consume as many messages as possible and move the call to it to the right place so it checks for signals afterwards. Prompted by suggestions from eric@.