Re: [evolution-data-server] Fix for bug #331633
"Veerapuram Varadhan" <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
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