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

Comparing ircd-hybrid/branches/8.2.x/src/client.c (file contents):
Revision 8413 by michael, Thu Mar 22 18:09:06 2018 UTC vs.
Revision 8430 by michael, Tue Mar 27 18:48:40 2018 UTC

# Line 263 | Line 263 | check_pings_list(dlink_list *list)
263      struct Client *client_p = node->data;
264  
265      if (IsDead(client_p))
266 <      continue;  /* Ignore it, its been exited already */
266 >      continue;  /* Ignore it, it's been exited already */
267  
268      if (IsClient(client_p) || IsServer(client_p))
269        ping = get_client_ping(&client_p->connection->confs);
# Line 321 | Line 321 | check_pings_list(dlink_list *list)
321   static void
322   check_unknowns_list(void)
323   {
324 <  dlink_node *node = NULL, *node_next = NULL;
324 >  dlink_node *node, *node_next;
325  
326    DLINK_FOREACH_SAFE(node, node_next, unknown_list.head)
327    {
# Line 634 | Line 634 | client_close_connection(struct Client *c
634    }
635    else if (IsServer(client_p))
636    {
637 <    dlink_node *node = NULL;
637 >    dlink_node *node;
638  
639      ++ServerStats.is_sv;
640      ServerStats.is_sbs += client_p->connection->send.bytes;
# Line 743 | Line 743 | exit_one_client(struct Client *source_p,
743    /* Check to see if the client isn't already on the dead list */
744    assert(dlinkFind(&dead_list, source_p) == NULL);
745  
746 <  /* add to dead client dlist */
746 >  /* Add to dead client dlist */
747    SetDead(source_p);
748    dlinkAdd(source_p, make_dlink_node(), &dead_list);
749   }
# Line 862 | Line 862 | exit_client(struct Client *source_p, con
862        {
863          if (!HasFlag(source_p, FLAGS_SQUIT))
864          {
865 <          /* for them, we are exiting the network */
865 >          /* For them, we are exiting the network */
866            sendto_one(source_p, ":%s SQUIT %s :%s",
867                       me.id, me.id, comment);
868          }
# Line 889 | Line 889 | exit_client(struct Client *source_p, con
889  
890      if (ConfigServerHide.hide_servers)
891        /*
892 <       * Set netsplit message to "*.net *.split" to still show
893 <       * that its a split, but hide the servers splitting
892 >       * Set netsplit message to "*.net *.split" to still show that it's a split,
893 >       * but hide the servers splitting.
894         */
895        strlcpy(splitstr, "*.net *.split", sizeof(splitstr));
896      else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines