freebsd-ports/japanese/ircII/files/patch-source_server.c
Florent Thoumie 846ef9b7d8 - Fix issue with madoka IRC proxy.
PR:		ports/82394
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
Approved by:	maintainer timeout (5 months)
2005-11-29 15:25:14 +00:00

11 lines
346 B
C

--- source/server.c.orig Sun Jun 19 01:34:12 2005
+++ source/server.c Sun Mar 20 00:41:53 2005
@@ -1552,6 +1552,8 @@
arg6, arg7, arg8, arg9, arg10);
#endif
Euc2Jis(buffer, buffer2);
+ if (buffer2[strlen(buffer2) - 1] == ' ')
+ buffer2[strlen(buffer2) - 1] = '\0';
len = strlen(buffer2);
if (len > (IRCD_BUFFER_SIZE - 2))