summaryrefslogtreecommitdiff
path: root/irc/ircd-rusnet/files/patch-ircd-s_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-rusnet/files/patch-ircd-s_id.c')
-rw-r--r--irc/ircd-rusnet/files/patch-ircd-s_id.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/irc/ircd-rusnet/files/patch-ircd-s_id.c b/irc/ircd-rusnet/files/patch-ircd-s_id.c
new file mode 100644
index 000000000000..a44ceca3e7cc
--- /dev/null
+++ b/irc/ircd-rusnet/files/patch-ircd-s_id.c
@@ -0,0 +1,20 @@
+--- ircd/s_id.c.orig 2007-11-14 03:08:39.000000000 +0600
++++ ircd/s_id.c 2007-11-14 03:08:52.000000000 +0600
+@@ -140,7 +140,7 @@
+ if (chptr->history == 0 ||
+ (timeofday - chptr->history) >LDELAYCHASETIMELIMIT+DELAYCHASETIMELIMIT)
+ {
+- MyFree((char *)chptr);
++ MyFree(chptr);
+ return;
+ }
+
+@@ -182,7 +182,7 @@
+ *chptr = del->nextch;
+ istat.is_cchan--;
+ istat.is_cchanmem -= sizeof(aChannel) +strlen(del->chname);
+- MyFree((char *)del);
++ MyFree(del);
+ }
+ else
+ chptr = &((*chptr)->nextch);