From: Aurelien DARRAGON Date: Tue, 4 Apr 2023 20:04:35 +0000 (+0200) Subject: CLEANUP: errors: fix obsolete function comments X-Git-Tag: v2.8-dev8~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88687f09802bdb047ad3de75e897e0de1fc3b2aa;p=thirdparty%2Fhaproxy.git CLEANUP: errors: fix obsolete function comments Since 9f903af5 ("MEDIUM: log: slightly refine the output format of alerts/warnings/etc"), messages generated by ha_{alert,warning,notice} don't embed date/time information anymore. Updating some old function comments that kept saying otherwise. --- diff --git a/src/errors.c b/src/errors.c index ba4b8ced54..da10c2f7f7 100644 --- a/src/errors.c +++ b/src/errors.c @@ -419,7 +419,7 @@ static void print_message_args(int use_usermsgs_ctx, const char *label, const ch } /* - * Displays the message on stderr with the date and pid. Overrides the quiet + * Displays the message on stderr with the pid. Overrides the quiet * mode during startup. */ void ha_alert(const char *fmt, ...) @@ -443,7 +443,7 @@ void ha_alert(const char *fmt, ...) } /* - * Displays the message on stderr with the date and pid. + * Displays the message on stderr with the pid. */ void ha_warning(const char *fmt, ...) { @@ -504,7 +504,7 @@ void ha_diag_warning(const char *fmt, ...) } /* - * Displays the message on stderr with the date and pid. + * Displays the message on stderr with the pid. */ void ha_notice(const char *fmt, ...) {