From: <tw...@us...> - 2005-05-13 11:35:37
|
Update of /cvsroot/synce/rra/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21606 Modified Files: contact.c Log Message: Patch from Huw D M Davies: "This removes an incorrect break statement that would strip names of their title if there was no middle name present. It also removes an unnecessary check on name_ids[i]." Index: contact.c =================================================================== RCS file: /cvsroot/synce/rra/lib/contact.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- contact.c 12 May 2005 12:59:18 -0000 1.21 +++ contact.c 13 May 2005 11:35:28 -0000 1.22 @@ -886,12 +886,10 @@ for (i = 0; i < NAME_FIELD_COUNT && name[i]; i++) { - if (name_ids[i] && *name[i]) + if (*name[i]) { add_string(parser, name_ids[i], type, name[i]); } - else - break; } strv_free(name); |