CVS commit by ossi:
enable the old account naming scheme to deal with duplicated ip
addresses.
this is not incompatible - previously, it would just create garbage.
M +10 -10 config.c 1.7
--- isync/src/compat/config.c #1.6:1.7
@@ -249,5 +249,5 @@ write_imap_server( FILE *fp, config_t *c
else {
if (sscanf( cfg->host, "%d.%d.%d.%d", &a1, &a2, &a3, &a4 ) == 4)
- cfg->old_server_name = nfstrdup( cfg->host );
+ hl = nfsnprintf( buf, sizeof(buf), "%s", cfg->host );
else {
p = strrchr( cfg->host, '.' );
@@ -260,4 +260,5 @@ write_imap_server( FILE *fp, config_t *c
hl = sprintf( buf, "%s", p2 + 1 );
}
+ }
if (boxes) /* !o2o */
for (pbox = boxes; pbox != cfg; pbox =
pbox->next)
@@ -270,5 +271,4 @@ write_imap_server( FILE *fp, config_t *c
gotsrv: ;
}
- }
if (cfg->user)
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel