Justus Winter, le Fri 23 May 2014 08:54:25 +0200, a écrit :
> +  for (i = 0; i < cache_info_count + 1; i++)
> +    {
> +      size_t l = strlen (infos[i]);
> +      memcpy (p, infos[i], l);

The length could be stored too, to avoid having to run strlen again.

Samuel

Reply via email to