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

Comparing ircd-hybrid/branches/8.2.x/src/list.c (file contents):
Revision 7632 by michael, Sat Mar 5 16:45:59 2016 UTC vs.
Revision 7633 by michael, Mon Jul 4 16:13:28 2016 UTC

# Line 95 | Line 95 | dlinkAdd(void *data, dlink_node *m, dlin
95   void
96   dlinkAddBefore(dlink_node *b, void *data, dlink_node *m, dlink_list *list)
97   {
98 <  /* Shortcut - if its the first one, call dlinkAdd only */
98 >  /* Shortcut - if it's the first one, call dlinkAdd only */
99    if (b == list->head)
100      dlinkAdd(data, m, list);
101    else
# Line 184 | Line 184 | dlinkMoveList(dlink_list *from, dlink_li
184      return;
185  
186    /* case two, nothing in to list */
187 <  /* actually if to->head is NULL and to->tail isn't, thats a bug */
187 >  /* actually if to->head is NULL and to->tail isn't, that's a bug */
188    if (to->head == NULL)
189    {
190      to->head = from->head;

Diff Legend

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