Re: [evolution-patches] [evolution-data-server] Fix for bug #331633
- From: "Veerapuram Varadhan" <vvaradhan novell com>
- To: <Irene Huang Sun COM>
- Cc: evolution-patches gnome org
- Subject: Re: [evolution-patches] [evolution-data-server] Fix for bug #331633
- Date: Mon, 20 Feb 2006 02:40:49 -0700
On Sat, 2006-02-18 at 04:48 +0000, Irene Huang wrote:
> + if (strlen(dn_value->str))
> + dn = g_strndup (dn_value->str, strlen(dn_value->str) -
> 1);
Wouldn't it be better to store strlen() in a variable, instead of
calling strlen twice?
Thanks,
V. Varadhan
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]