isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 492ca8d332284e8e76f75c73b0aaa233beea4e28
parent 31fc41a32c8330c19d94844a86cff6a1f5adcbc2
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Mon, 20 Mar 2006 17:21:07 +0000

whitespace and code verbosity

Diffstat:
Msrc/drv_imap.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -234,8 +234,7 @@ verify_cert( SSL *ssl ) 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 = conf->server; + imap_server_conf_t *srvc = ((imap_store_conf_t *)ctx->gen.conf)->server; SSL_METHOD *method; int options = 0; @@ -1070,7 +1069,7 @@ start_tls( imap_store_t *ctx ) ssl_inited = 1; } - if (init_ssl_ctx( ctx )) + if (init_ssl_ctx( ctx )) return 1; ctx->buf.sock.ssl = SSL_new( ctx->SSLContext ); @@ -1145,7 +1144,7 @@ cram( const char *challenge, const char *user, const char *pass ) } static int -do_cram_auth (imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt) +do_cram_auth( imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt ) { imap_server_conf_t *srvc = ((imap_store_conf_t *)ctx->gen.conf)->server; char *resp;