jabberd/jabberd.patch

changeset 303
2bd9bf3f6f03
parent 225
a01e65d97743
child 363
641cacc76b02
equal deleted inserted replaced
1:14c9d6ede1f7 2:abd9d658750d
21 <file>@localstatedir@/jabberd/log/c2s.log</file> 21 <file>@localstatedir@/jabberd/log/c2s.log</file>
22 - --> 22 - -->
23 </log> 23 </log>
24 24
25 <!-- Local network configuration --> 25 <!-- Local network configuration -->
26 @@ -137,7 +135,7 @@ 26 @@ -149,7 +147,7 @@
27 <id password-change='true' /> --> 27 <id password-change='true' /> -->
28 28
29 <!-- IP address to bind to (default: 0.0.0.0) --> 29 <!-- IP address to bind to (default: 0.0.0.0) -->
30 - <ip>0.0.0.0</ip> 30 - <ip>0.0.0.0</ip>
31 + <ip>127.0.0.1</ip> 31 + <ip>127.0.0.1</ip>
139 snprintf(buf, 64, "%+03d:%02d", (int) tm->tm_gmtoff/(60*60), (int) tm->tm_gmtoff%(60*60)); 139 snprintf(buf, 64, "%+03d:%02d", (int) tm->tm_gmtoff/(60*60), (int) tm->tm_gmtoff%(60*60));
140 #endif 140 #endif
141 Index: sm/mod_roster.c 141 Index: sm/mod_roster.c
142 --- sm/mod_roster.c.orig 2009-06-30 11:38:15 +0200 142 --- sm/mod_roster.c.orig 2009-06-30 11:38:15 +0200
143 +++ sm/mod_roster.c 2009-06-30 20:45:06 +0200 143 +++ sm/mod_roster.c 2009-06-30 20:45:06 +0200
144 @@ -635,6 +635,9 @@ 144 @@ -708,6 +708,9 @@
145 if(user->sessions == NULL) 145 if(user->sessions == NULL)
146 return mod_PASS; 146 return mod_PASS;
147 147
148 + /* We have to free old packet - Lemming's memory leak fix */ 148 + /* We have to free old packet - Lemming's memory leak fix */
149 + pkt_free(pkt); 149 + pkt_free(pkt);

mercurial