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

Comparing ircd-hybrid/trunk/src/auth.c (file contents):
Revision 6477 by michael, Sat Aug 1 18:03:39 2015 UTC vs.
Revision 6478 by michael, Thu Sep 3 14:02:53 2015 UTC

# Line 79 | Line 79 | static const char *const HeaderMessages[
79  
80   #define sendheader(c, i) sendto_one_notice((c), &me, "%s", HeaderMessages[(i)])
81  
82 < static dlink_list auth_pending_list;
82 > static dlink_list auth_list;
83   static void read_auth_reply(fde_t *, void *);
84   static void auth_connect_callback(fde_t *, int, void *);
85  
# Line 115 | Line 115 | release_auth_client(struct AuthRequest *
115  
116    if (IsInAuth(auth))
117    {
118 <    dlinkDelete(&auth->node, &auth_pending_list);
118 >    dlinkDelete(&auth->node, &auth_list);
119      ClearInAuth(auth);
120    }
121  
# Line 267 | Line 267 | start_auth(struct Client *client_p)
267    struct AuthRequest *const auth = make_auth_request(client_p);
268  
269    SetInAuth(auth);
270 <  dlinkAddTail(auth, &auth->node, &auth_pending_list);
270 >  dlinkAddTail(auth, &auth->node, &auth_list);
271  
272    sendheader(client_p, REPORT_DO_DNS);
273  
# Line 291 | Line 291 | timeout_auth_queries_event(void *notused
291   {
292    dlink_node *node = NULL, *node_next = NULL;
293  
294 <  DLINK_FOREACH_SAFE(node, node_next, auth_pending_list.head)
294 >  DLINK_FOREACH_SAFE(node, node_next, auth_list.head)
295    {
296      struct AuthRequest *auth = node->data;
297  
# Line 518 | Line 518 | delete_auth(struct AuthRequest *auth)
518  
519    if (IsInAuth(auth))
520    {
521 <    dlinkDelete(&auth->node, &auth_pending_list);
521 >    dlinkDelete(&auth->node, &auth_list);
522      ClearInAuth(auth);
523    }
524   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines