Menu

#42 "ADR" with "TYPE=HOME" gets additional "WORK" property added

open
nobody
5
2005-05-20
2005-05-20
Anonymous
No

ADR-lines in VCARD are mangled: the type "WORK" is
added if none can be found, but multisync does not
recognize "ADR;TYPE=HOME:" or similar. Therefore it
adds a "WORK" which screws up my SE K700i ...
(See line 550 "If no address type specified, add WORK
(mostly for Evolution)".)

FIX:

diff -r multisync-0.82.new/src/sync_vtype.c
multisync-0.82.orig/src/sync_vtype.c
321,325d320
< if (adr && !g_strcasecmp(propname, "TYPE") &
< (!g_strcasecmp(propdata, "HOME") ||
< !g_strcasecmp(propdata, "WORK"))) {
< strncpy(adrtype, propdata, 255);
< }

Discussion


Log in to post a comment.

MongoDB Logo MongoDB