comparison lib-src/pop.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents bbff43aa5eb7
children de805c49cfc1
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02111-1307, USA. */
21 21
22 #ifdef HAVE_CONFIG_H 22 #ifdef HAVE_CONFIG_H
23 #define NO_SHORTNAMES /* Tell config not to load remap.h */ 23 #define NO_SHORTNAMES /* Tell config not to load remap.h */
24 #include <../src/config.h> 24 #include <config.h>
25 #else 25 #else
26 #define MAIL_USE_POP 26 #define MAIL_USE_POP
27 #endif 27 #endif
28 28
29 #ifdef MAIL_USE_POP 29 #ifdef MAIL_USE_POP
920 if (sendline (server, "QUIT") || getok (server)) 920 if (sendline (server, "QUIT") || getok (server))
921 { 921 {
922 ret = -1; 922 ret = -1;
923 } 923 }
924 924
925 close (server->file); 925 CLOSESOCKET (server->file);
926 } 926 }
927 927
928 if (server->buffer) 928 if (server->buffer)
929 free (server->buffer); 929 free (server->buffer);
930 free ((char *) server); 930 free ((char *) server);