diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-10-20 06:45:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-10-20 06:45:03 +0000 |
commit | 4cae919254e51869cf00323cc2738d2d759c14b9 (patch) | |
tree | 4c4ae436d90c822f826b7f78238189445284d8de /pop3.c | |
parent | a6e33f26b17202e4fddec64a56d9c272b537f73d (diff) | |
download | fetchmail-4cae919254e51869cf00323cc2738d2d759c14b9.tar.gz fetchmail-4cae919254e51869cf00323cc2738d2d759c14b9.tar.bz2 fetchmail-4cae919254e51869cf00323cc2738d2d759c14b9.zip |
Avoid colliding with a global.
svn path=/trunk/; revision=2122
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -27,7 +27,7 @@ extern char *strstr(); /* needed on sysV68 R3V7.1. */ #endif /* strstr */ -static int phase; +static int pop3_phase; #define PHASE_GETAUTH 0 #define PHASE_GETRANGE 1 #define PHASE_GETSIZES 2 @@ -73,7 +73,7 @@ int pop3_ok (int sock, char *argbuf) } else if (strncmp(buf,"-ERR", 4) == 0) { - if (phase > PHASE_GETAUTH) + if (pop3_phase > PHASE_GETAUTH) ok = PS_PROTOCOL; /* * We're checking for "lock busy", "unable to lock", @@ -112,7 +112,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) char *challenge; #endif /* OPIE */ - phase = PHASE_GETAUTH; + pop3_phase = PHASE_GETAUTH; #ifdef SDPS_ENABLE /* @@ -383,7 +383,7 @@ static int pop3_getrange(int sock, int ok; char buf [POPBUFSIZE+1]; - phase = PHASE_GETRANGE; + pop3_phase = PHASE_GETRANGE; /* Ensure that the new list is properly empty */ ctl->newsaved = (struct idlist *)NULL; @@ -476,7 +476,7 @@ static int pop3_getsizes(int sock, int count, int *sizes) { int ok; - /* phase = PHASE_GETSIZES */ + /* pop3_phase = PHASE_GETSIZES */ if ((ok = gen_transact(sock, "LIST")) != 0) return(ok); @@ -521,7 +521,7 @@ static int pop_fetch_headers(int sock, struct query *ctl,int number,int *lenp) int ok; char buf[POPBUFSIZE+1]; - /* phase = PHASE_FETCH */ + /* pop3_phase = PHASE_FETCH */ gen_send(sock, "TOP %d 0", number); if ((ok = pop3_ok(sock, buf)) != 0) @@ -539,7 +539,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp) int ok; char buf[POPBUFSIZE+1]; - /* phase = PHASE_FETCH */ + /* pop3_phase = PHASE_FETCH */ #ifdef SDPS_ENABLE /* @@ -622,7 +622,7 @@ static int pop3_logout(int sock, struct query *ctl) { int ok; - /* phase = PHASE_LOGOUT */ + /* pop3_phase = PHASE_LOGOUT */ ok = gen_transact(sock, "QUIT"); if (!ok) |