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
}
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",
char *challenge;
#endif /* OPIE */
- phase = PHASE_GETAUTH;
+ pop3_phase = PHASE_GETAUTH;
#ifdef SDPS_ENABLE
/*
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;
{
int ok;
- /* phase = PHASE_GETSIZES */
+ /* pop3_phase = PHASE_GETSIZES */
if ((ok = gen_transact(sock, "LIST")) != 0)
return(ok);
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)
int ok;
char buf[POPBUFSIZE+1];
- /* phase = PHASE_FETCH */
+ /* pop3_phase = PHASE_FETCH */
#ifdef SDPS_ENABLE
/*
{
int ok;
- /* phase = PHASE_LOGOUT */
+ /* pop3_phase = PHASE_LOGOUT */
ok = gen_transact(sock, "QUIT");
if (!ok)