mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 11:23:13 +02:00
- Fixed crash in /STATS Z (possibly rare), reported by yasinbey (#0002929).
This commit is contained in:
@@ -1215,3 +1215,4 @@
|
||||
(#0002921).
|
||||
- Fixed win32 compile problem cause by timesynch.
|
||||
- Updated release notes: more modulization and real command alias support.
|
||||
- Fixed crash in /STATS Z (possibly rare), reported by yasinbey (#0002929).
|
||||
|
||||
@@ -987,10 +987,8 @@ int stats_mem(aClient *sptr, char *para)
|
||||
sendto_one(sptr, ":%s %d %s :Dbuf blocks %d(%ld)",
|
||||
me.name, RPL_STATSDEBUG, sptr->name, dbufblocks, db);
|
||||
|
||||
link = freelink;
|
||||
while ((link = link->next))
|
||||
for (link = freelink; link; link = link->next)
|
||||
fl++;
|
||||
fl++;
|
||||
sendto_one(sptr, ":%s %d %s :Link blocks free %d(%ld) total %d(%ld)",
|
||||
me.name, RPL_STATSDEBUG, sptr->name,
|
||||
fl, (long)(fl * sizeof(Link)),
|
||||
|
||||
Reference in New Issue
Block a user