(do_connect): init `s'

(pop_state): spell-check enums


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5371 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-02-15 21:22:06 +00:00
parent 5e96affae6
commit 31b022919d

View File

@@ -101,7 +101,7 @@ do_connect (char *host, int port, int nodelay)
struct hostent *h; struct hostent *h;
struct sockaddr_in addr; struct sockaddr_in addr;
char **p; char **p;
int s; int s = -1;
h = roken_gethostbyname (host); h = roken_gethostbyname (host);
if (h == NULL) if (h == NULL)
@@ -134,7 +134,7 @@ do_connect (char *host, int port, int nodelay)
} }
} }
typedef enum { INIT = 0, GREAT, USER, PASS, STAT, RETR, TOP, typedef enum { INIT = 0, GREET, USER, PASS, STAT, RETR, TOP,
DELE, QUIT } pop_state; DELE, QUIT } pop_state;
#define PUSH_BUFSIZ 65536 #define PUSH_BUFSIZ 65536