CVS commit by ossi:
do not repeatedly get namespace from server.
M +6 -2 drv_imap.c 1.25
--- isync/src/drv_imap.c #1.24:1.25
@@ -113,4 +113,5 @@ typedef struct imap_store {
unsigned /*currentnc:1,*/ trashnc:1;
int uidnext; /* from SELECT responses */
+ unsigned
CVS commit by ossi:
handle socket() failure and correctly report gethostbyname() failure.
M +5 -1 drv_imap.c 1.24
--- isync/src/drv_imap.c #1.23:1.24
@@ -1266,5 +1266,5 @@ imap_open_store( store_conf_t *conf )
he = gethostbyname( srvc->host );
if (!he
CVS commit by ossi:
update copyrights
M +1 -1 drv_imap.c 1.23
M +1 -1 drv_maildir.c 1.16
M +1 -1 isync.h 1.59
M +2 -2 main.c 1.57
M +1 -1 sync.c 1.78
M +1 -1 util.c 1.9
--- isync/src/drv_imap.c #1.22:1.23
@@ -2,5 +2,5 @@
* mbsync - mail
CVS commit by ossi:
move whole responsibility for recycling open stores/server connections
to the drivers.
M +51 -12drv_imap.c 1.22
M +18 -7 drv_maildir.c 1.15
M +6 -2 isync.h 1.58
M +12 -22main.c 1.56
--- isync/src/drv_imap.c #1.21:1.22
@@ -1037,5 +1037,5 @@
CVS commit by ossi:
keep the result of driver->list() and a flag whether it is valid in the store.
M +9 -8 drv_imap.c 1.21
M +4 -3 drv_maildir.c 1.14
M +3 -1 isync.h 1.57
M +7 -20 main.c 1.55
--- isync/src/drv_imap.c #1.20:1.21
@@ -114,5 +114,4 @@ typedef s
CVS commit by ossi:
aggregate all (two ...) drivers in an array instead of naming them in
each (one ...) location explicitly.
M +14 -12config.c 1.31
M +3 -0 isync.h 1.56
--- isync/src/config.c #1.30:1.31
@@ -33,4 +33,6 @@
#include
+driver_t *drivers[N_DRIVERS] = { &maild
CVS commit by ossi:
whitespace and code verbosity
M +3 -4 drv_imap.c 1.20
--- isync/src/drv_imap.c #1.19:1.20
@@ -235,6 +235,5 @@ static int
init_ssl_ctx( imap_store_t *ctx )
{
- imap_store_conf_t *conf = (imap_store_conf_t *)ctx->gen.conf;
- imap_server_conf_t *srvc =
CVS commit by ossi:
merge imap_t into imap_store_t - there is really no point in having them
separated.
M +109 -134 drv_imap.c 1.19
--- isync/src/drv_imap.c #1.18:1.19
@@ -108,5 +108,8 @@ struct imap_cmd;
#define max_in_progress 50 /* make this configurable? */
-typedef struct imap {