From 17d48d42d690475b60be3b1e2cfdb30bfff54e83 Mon Sep 17 00:00:00 2001 From: ltoetsch <> Date: Thu, 15 Mar 2001 11:10:53 +0000 Subject: [lcd4linux @ 2001-03-15 11:10:53 by ltoetsch] added quit/logout to pop/imap --- mail2.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mail2.c b/mail2.c index 19b80c3..4e974e5 100644 --- a/mail2.c +++ b/mail2.c @@ -1,4 +1,4 @@ -/* $Id: mail2.c,v 1.1 2001/03/14 13:19:29 ltoetsch Exp $ +/* $Id: mail2.c,v 1.2 2001/03/15 11:10:53 ltoetsch Exp $ * * mail: pop3, imap functions * @@ -20,6 +20,9 @@ * * * $Log: mail2.c,v $ + * Revision 1.2 2001/03/15 11:10:53 ltoetsch + * added quit/logout to pop/imap + * * Revision 1.1 2001/03/14 13:19:29 ltoetsch * Added pop3/imap4 mail support * @@ -203,6 +206,8 @@ static int check_imap4(char *user, char *pass, char *machine, close(fd); return -1; } + strcpy(buf,". LOGOUT\r\n"); + wr_rd(fd, buf, "", "LOGOUT", machine, port); close(fd); return 0; } @@ -248,6 +253,8 @@ static int check_pop3(char *user, char *pass, char *machine, sscanf(buf, "+OK %d", unseen); *unseen = *total - *unseen; } + strcpy(buf, "QUIT\r\n"); + wr_rd(fd, buf, "+OK", "Quit", machine, port); close(fd); return 0; } -- cgit v1.2.3 t/?h=upstream'>summaryrefslogtreecommitdiffstats
path: root/dvb-t/fi-Taivalkoski (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2017-06-19New upstream version 0+git20170425.fb5fe05upstream/0+git20170425.fb5fe05Jonathan McCrohan16-102/+786
2017-01-05New upstream version 0+git20161227.ac7535aupstream/0+git20161227.ac7535aJonathan McCrohan39-1522/+4879
2016-06-11Imported Upstream version 0+git20160503.4f192bdupstream/0+git20160503.4f192bdJonathan McCrohan1307-2667/+38002
2016-01-18Imported Upstream version 0+git20151202.3864e0aupstream/0+git20151202.3864e0aJonathan McCrohan840-4057/+18230
2015-04-01Imported Upstream version 0+git20150208.f2053b3upstream/0+git20150208.f2053b3Jonathan McCrohan32-333/+483
2014-12-28Imported Upstream version 0+git20141218.b46a22cupstream/0+git20141218.b46a22cJonathan McCrohan535-639/+317
2014-10-15Imported Upstream version 0+git20141009.d26b627upstream/0+git20141009.d26b627Jonathan McCrohan2010-11120/+159271
2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60
2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983
2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877