Commit debaba40 debaba40ae9ea7eb006c9bbdbae8f4f1320b4fa6 by Alain Magloire

Removed no more threading code.

1 parent d540541d
...@@ -11,7 +11,6 @@ libmailbox_la_SOURCES = \ ...@@ -11,7 +11,6 @@ libmailbox_la_SOURCES = \
11 pop3_apop.c \ 11 pop3_apop.c \
12 pop3_capa.c \ 12 pop3_capa.c \
13 pop3_carrier.c \ 13 pop3_carrier.c \
14 pop3_cleanup.c \
15 pop3_connect.c \ 14 pop3_connect.c \
16 pop3_create.c \ 15 pop3_create.c \
17 pop3_dele.c \ 16 pop3_dele.c \
......
1 /* GNU mailutils - a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Library Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
17
18 #ifdef HAVE_CONFIG_H
19 # include <config.h>
20 #endif
21
22 #include <stdio.h>
23 #include <string.h>
24
25 #include <mailutils/sys/pop3.h>
26 #include <mailutils/md5-rsa.h>
27 #include <mailutils/monitor.h>
28
29 void
30 pop3_cleanup (void *arg)
31 {
32 pop3_t pop3 = (pop3_t)arg;
33 monitor_unlock (pop3->lock);
34 pop3->state = POP3_ERROR;
35 }