diff options
-rw-r--r-- | irc/undernet-ircu/files/patch-ircd_ircd__log.c | 14 | ||||
-rw-r--r-- | irc/undernet-ircu/files/patch-ircd_send.c | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/irc/undernet-ircu/files/patch-ircd_ircd__log.c b/irc/undernet-ircu/files/patch-ircd_ircd__log.c new file mode 100644 index 000000000000..d248df1d3d64 --- /dev/null +++ b/irc/undernet-ircu/files/patch-ircd_ircd__log.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ircd/ircd_log.c.orig ++++ ircd/ircd_log.c +@@ -395,7 +395,7 @@ + + /* Build the basic log string */ + vd.vd_format = fmt; +- vd.vd_args = vl; ++ va_copy(vd.vd_args, vl); + + /* save the length for writev */ + /* Log format: "SYSTEM [SEVERITY]: log message" */ diff --git a/irc/undernet-ircu/files/patch-ircd_send.c b/irc/undernet-ircu/files/patch-ircd_send.c new file mode 100644 index 000000000000..ec275840eafb --- /dev/null +++ b/irc/undernet-ircu/files/patch-ircd_send.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- ircd/send.c.orig ++++ ircd/send.c +@@ -697,7 +697,7 @@ + * this is ok... + */ + vd.vd_format = pattern; +- vd.vd_args = vl; ++ va_copy(vd.vd_args, vl); + mb = msgq_make(0, ":%s " MSG_NOTICE " * :*** Notice -- %v", cli_name(&me), + &vd); + |