diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-18 20:16:42 +0000 |
commit | c325bc190633349e806d0f2c313ace2338950f88 (patch) | |
tree | 69ef866dee66bd1548e19f58faa513c460242bf7 /etrn.c | |
parent | 5ffe6f98f8ba802ccd973724702a2d44757c4291 (diff) | |
download | fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.gz fetchmail-c325bc190633349e806d0f2c313ace2338950f88.tar.bz2 fetchmail-c325bc190633349e806d0f2c313ace2338950f88.zip |
Compiler warnings fixes, preprocessor and minor general cleanup.
svn path=/trunk/; revision=3901
Diffstat (limited to 'etrn.c')
-rw-r--r-- | etrn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,7 +65,7 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id, for (qnp = ctl->domainlist; qnp; qnp = qnp->next) { /* ship the actual poll and get the response */ - gen_send(sock, "ETRN %s", qnp->id); + gen_send(sock, "ETRN %s", (char *)qnp->id); if ((ok = gen_recv(sock, buf, sizeof(buf)))) return(ok); @@ -122,7 +122,7 @@ static int etrn_logout(int sock, struct query *ctl) static const struct method etrn = { "ETRN", /* ESMTP ETRN extension */ -#if INET6_ENABLE +#ifdef INET6_ENABLE "smtp", /* standard SMTP port */ "smtps", /* ssl SMTP port */ #else /* INET6_ENABLE */ |