X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fpop3.c;h=373897de30db3b6023a23fe9a48e734def1284ca;hb=ce4f06238d2fde40958f4089921d332426f8be4e;hp=268647cd2eff4a3df220ced18e6349c5d200f291;hpb=db28d5c6f7928b707bffa193ad93dfa7556ab0ad;p=dockapps%2Fwmnotify.git diff --git a/src/pop3.c b/src/pop3.c index 268647c..373897d 100644 --- a/src/pop3.c +++ b/src/pop3.c @@ -1,5 +1,22 @@ -/* pop3.c -- Routines for communication with a pop3 server */ - +/* + * pop3.c -- Routines for communication with a pop3 server + * + * Copyright (C) 2003 Hugo Villeneuve + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + */ /* Define filename_M */ #define POP3_M 1 @@ -51,7 +68,7 @@ POP3_ReceiveResponse( void ) /* Check the status indicator returned by the POP3 server. There are currently two status indicators: positive ("+OK") and negative ("-ERR"). Servers MUST send the status indicators in upper case. */ - if( STREQ_LEN( rx_buffer, POP3_RSP_SUCCESS, strlen(POP3_RSP_SUCCESS) ) == FALSE ) { + if( STREQ_LEN( rx_buffer, POP3_RSP_SUCCESS, strlen(POP3_RSP_SUCCESS) ) == false ) { fprintf( stderr, "%s: Error, POP3 server responded:\n \"%s\"\n", PACKAGE, rx_buffer ); len = -1; }