From 31b022919db280d229c76597edb0c520863395cf Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 15 Feb 1999 21:22:06 +0000 Subject: [PATCH] (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 --- appl/push/push.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/push/push.c b/appl/push/push.c index e292e8e16..3cb6c00a3 100644 --- a/appl/push/push.c +++ b/appl/push/push.c @@ -101,7 +101,7 @@ do_connect (char *host, int port, int nodelay) struct hostent *h; struct sockaddr_in addr; char **p; - int s; + int s = -1; h = roken_gethostbyname (host); 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; #define PUSH_BUFSIZ 65536