Hi, if I omit the first line the result string (value_ml) is dirty, the line is necessary.
Regards, Sergio Il giorno ven, 28/10/2005 alle 13.51 +0200, Nabil Sayegh ha scritto: > Am Freitag 28 Oktober 2005 11:39 schrieb Sergio CERLESI: > > Hi all, > > > > I wrote the attached patch for rra to add support for vcard with > > multiline value. I need to it for sync my contact with evolution. > > > > What do you think about? > > --------- > value_ml[0] = '\0'; > strncat(value_ml, value, value_end - value); > --------- > > Isn't the first line unnecessary, if value_ml is overwritten in the next line? > > rgds ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Synce-devel mailing list Synce-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel