[sudo-commits] sudo changeset 13206:f596480880fa

Todd C. Miller Todd.Miller at sudo.ws
Fri Apr 23 19:50:07 MDT 2021


changeset:	13206:f596480880fa in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/f596480880fa
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Apr 23 16:56:21 2021 -0600

Log Message:
	Use function pointers for each client message type instead of conditionals.
	This separats out the message handler from the functions that store
	or relay the message contents.

diffstat:

 logsrvd/logsrvd.c         |  614 +++++++++++++++++++++++++--------------------
 logsrvd/logsrvd.h         |   34 +-
 logsrvd/logsrvd_journal.c |  137 ++++++++++-
 logsrvd/logsrvd_relay.c   |   63 +--
 4 files changed, 526 insertions(+), 322 deletions(-)



More information about the sudo-commits mailing list