ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_class.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf_class.c (file contents):
Revision 4800 by michael, Tue Oct 28 13:59:43 2014 UTC vs.
Revision 4833 by michael, Sun Nov 2 11:45:04 2014 UTC

# Line 47 | Line 47 | class_get_list(void)
47   struct ClassItem *
48   class_make(void)
49   {
50 <  struct ClassItem *class = MyCalloc(sizeof(*class));
50 >  struct ClassItem *const class = MyCalloc(sizeof(*class));
51  
52    class->active    = 1;
53    class->con_freq  = DEFAULT_CONNECTFREQUENCY;
# Line 86 | Line 86 | get_class_ptr(const dlink_list *const li
86  
87    if ((node = list->head))
88    {
89 <    const struct MaskItem *conf = node->data;
89 >    const struct MaskItem *const conf = node->data;
90  
91      assert(conf->class);
92      assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
# Line 104 | Line 104 | get_client_class(const dlink_list *const
104  
105    if ((node = list->head))
106    {
107 <    const struct MaskItem *conf = node->data;
107 >    const struct MaskItem *const conf = node->data;
108  
109      assert(conf->class);
110      assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
# Line 122 | Line 122 | get_client_ping(const dlink_list *const
122  
123    if ((node = list->head))
124    {
125 <    const struct MaskItem *conf = node->data;
125 >    const struct MaskItem *const conf = node->data;
126  
127      assert(conf->class);
128      assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
# Line 140 | Line 140 | get_sendq(const dlink_list *const list)
140  
141    if ((node = list->head))
142    {
143 <    const struct MaskItem *conf = node->data;
143 >    const struct MaskItem *const conf = node->data;
144  
145      assert(conf->class);
146      assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));
# Line 158 | Line 158 | get_recvq(const dlink_list *const list)
158  
159    if ((node = list->head))
160    {
161 <    const struct MaskItem *conf = node->data;
161 >    const struct MaskItem *const conf = node->data;
162  
163      assert(conf->class);
164      assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER));

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)