]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: errors: fix obsolete function comments
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 4 Apr 2023 20:04:35 +0000 (22:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Apr 2023 12:36:45 +0000 (14:36 +0200)
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.

src/errors.c

index ba4b8ced546db6a02ad6d9d6ee7824008c88a90a..da10c2f7f735bf0be31751be5d55d57857e7ca50 100644 (file)
@@ -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, ...)
 {