diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-03-19 10:36:22 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-03-19 10:36:22 +0100 |
commit | b5737df8b9eef8a7001432c1f88a7dcacf2e56a8 (patch) | |
tree | 5e57e45f93b71babd094e13312044d63579d45ba /transact.c | |
parent | 1b88147837bcf98cf5b70fff4a209ecac7a520f8 (diff) | |
download | fetchmail-b5737df8b9eef8a7001432c1f88a7dcacf2e56a8.tar.gz fetchmail-b5737df8b9eef8a7001432c1f88a7dcacf2e56a8.tar.bz2 fetchmail-b5737df8b9eef8a7001432c1f88a7dcacf2e56a8.zip |
Further warning fixes.
Diffstat (limited to 'transact.c')
-rw-r--r-- | transact.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ int suppress_tags = FALSE; /* emit tags? */ char tag[TAGLEN]; static int tagnum; #define GENSYM (sprintf(tag, "A%04d", ++tagnum % TAGMOD), tag) -static struct method *protocol; +static const struct method *protocol; char shroud[PASSWORDLEN*2+3]; /* string to shroud in debug output */ /* session variables initialized in do_session() */ @@ -1462,7 +1462,7 @@ void init_transact(const struct method *proto) suppress_tags = FALSE; tagnum = 0; tag[0] = '\0'; /* nuke any tag hanging out from previous query */ - protocol = (struct method *)proto; + protocol = proto; shroud[0] = '\0'; } |