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

Comparing ircd-hybrid/trunk/src/conf.c (file contents):
Revision 4967 by michael, Mon Dec 1 14:34:29 2014 UTC vs.
Revision 4977 by michael, Thu Dec 4 15:12:24 2014 UTC

# Line 1132 | Line 1132 | oper_privs_as_string(const unsigned int
1132   const char *
1133   get_oper_name(const struct Client *client_p)
1134   {
1135  const dlink_node *node = NULL;
1135    /* +5 for !,@,{,} and null */
1136    static char buffer[NICKLEN + USERLEN + HOSTLEN + HOSTLEN + 5];
1137  
# Line 1141 | Line 1140 | get_oper_name(const struct Client *clien
1140  
1141    if (MyConnect(client_p))
1142    {
1143 <    if ((node = client_p->connection->confs.head))
1143 >    const dlink_node *const node = client_p->connection->confs.head;
1144 >
1145 >    if (node)
1146      {
1147        const struct MaskItem *const conf = node->data;
1148  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines