X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpopsbr.c;h=c566264d3f0f7ea40ee0dbe7bd53583d5d2d5a6f;hb=dc32dd097ee3b21bb802d9f6290fb4c9299b4ee1;hp=2d03efdc1a4bda5106354fc04251d863dcee66d6;hpb=c05210483d82bf5f3786725ff80e12444088a701;p=mmh diff --git a/uip/popsbr.c b/uip/popsbr.c index 2d03efd..c566264 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -347,6 +347,8 @@ sasl_get_pass(sasl_conn_t *conn, void *context, int id, sasl_secret_t **psecret) char *pass = NULL; int len; + NMH_UNUSED (conn); + if (! psecret || id != SASL_CB_PASS) return SASL_BADPARAM; @@ -418,6 +420,10 @@ pop_init (char *host, char *port, char *user, char *pass, char *proxy, { int fd1, fd2; char buffer[BUFSIZ]; +#ifndef CYRUS_SASL + NMH_UNUSED (sasl); + NMH_UNUSED (mech); +#endif /* ! CYRUS_SASL */ if (proxy && *proxy) { int pid; @@ -893,7 +899,7 @@ static int sasl_fgetc(FILE *f) { static unsigned char *buffer = NULL, *ptr; - static int size = 0; + static unsigned int size = 0; static int cnt = 0; unsigned int retbufsize = 0; int cc, result;