Re: [PATCH] Don't send interleaved byebye/alive on startup



On Fr, 2011-05-27 at 10:49 +0200, Jens Georg wrote:
>  
> +                /* Make sure initial byebyes are sent grouped before initial
> +                 * alives */
> +                for (l = resource_group->priv->resources; l; l = l->next)
> +                        send_initial_resource_byebye (l->data);
> +

I stuck to the general pattern here, but is there a rationale not to use
g_list_foreach for this "apply function to all list elements" call?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]