]> git.pld-linux.org Git - packages/bircd.git/blame - bircd-2.1.0rc1-p1.patch
- rel 3 (rebuild with fixed %useradd/%groupadd macros)
[packages/bircd.git] / bircd-2.1.0rc1-p1.patch
CommitLineData
6f2ed48e 1diff -ur bircd.old/src/s_misc.c bircd/src/s_misc.c
2--- bircd.old/src/s_misc.c Sun Feb 12 14:10:14 2006
3+++ bircd/src/s_misc.c Mon Mar 6 19:12:46 2006
4@@ -403,7 +403,7 @@
5
6 /* Clean up invitefield */
7 while((lp=sptr->user->invited))
8- del_invite(sptr,lp->value.chptr);
9+ del_invite(sptr,((struct SInvite *)(lp->value.vp))->chptr);
10 }
11 }
12
13diff -ur bircd.old/src/s_serv.c bircd/src/s_serv.c
14--- bircd.old/src/s_serv.c Sun Feb 12 12:13:46 2006
15+++ bircd/src/s_serv.c Wed Feb 15 21:04:24 2006
16@@ -144,7 +144,7 @@
17 {
18 Reg1 aClient *acptr=0;
19 char *upsrv[2];
20-char srvs[2*HOSTLEN+2];
21+char srvs[2*HOSTLEN+6];
22 char *server;
23 char *comment=(parc>2 && parv[parc-1]) ? parv[parc-1]:cptr->name;
24 int c;
25@@ -235,7 +235,7 @@
26 return 0;
27 }
28
29-if(IsServer(cptr) && parc>3)
30+if(IsServer(cptr) && parc>3 && strlen(parv[2])<(2*HOSTLEN+2))
31 {
32 char *p;
33
34diff -ur bircd.old/src/send.c bircd/src/send.c
35--- bircd.old/src/send.c Sun Feb 12 12:15:50 2006
36+++ bircd/src/send.c Wed Feb 15 21:04:28 2006
37@@ -459,7 +459,7 @@
38 */
39 void sendto_serv_butone3(aClient *one,char *pattern,char *p1,char *p2,char **p3,char *p4,char *p5,char *p6,char *p7,char *p8)
40 {
41-static char str[2*HOSTLEN+2];
42+static char str[2*HOSTLEN+6];
43 Reg1 aClient *cptr;
44 Reg2 int i;
45
46diff -ur bircd.old/src/version.c bircd/src/version.c
47--- bircd.old/src/version.c Sun Feb 12 11:08:04 2006
48+++ bircd/src/version.c Mon Mar 6 19:14:10 2006
49@@ -19,7 +19,7 @@
50
51 #include "struct.h"
52
53-#define VER "2.1.0rc1"
54+#define VER "2.1.0rc1+p1"
55
56 char *creation = __DATE__ " " __TIME__;
57 char *version = "bIRCd" VER;
This page took 0.065968 seconds and 4 git commands to generate.