1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-10-19 00:27:39 +00:00

Class_GetList() now retuns a pointer to list_head structure

This commit is contained in:
Alexander Barton
2011-12-25 19:11:07 +01:00
parent e86e193e01
commit 6ef20e0f9a
3 changed files with 5 additions and 5 deletions

View File

@@ -75,12 +75,12 @@ Class_DeleteMask(const int Class, const char *Mask)
Lists_Del(&My_Classes[Class], Mask);
}
GLOBAL struct list_head
GLOBAL struct list_head *
Class_GetList(const int Class)
{
assert(Class < CLASS_COUNT);
return My_Classes[Class];
return &My_Classes[Class];
}
GLOBAL void