X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fpop3.c;h=268647cd2eff4a3df220ced18e6349c5d200f291;hb=db28d5c6f7928b707bffa193ad93dfa7556ab0ad;hp=d9da74fa21802d033dd448dc619fce0ed9c1de9e;hpb=eaca75aa6c133cc6ff3d707f7ae8dbfbe51a6d2a;p=dockapps%2Fwmnotify.git diff --git a/src/pop3.c b/src/pop3.c index d9da74f..268647c 100644 --- a/src/pop3.c +++ b/src/pop3.c @@ -23,8 +23,9 @@ #include "pop3.h" -static char tx_buffer[POP3_IN_BUF_SIZE]; -static char rx_buffer[POP3_IN_BUF_SIZE]; +/* Defined in network.c */ +extern char tx_buffer[WMNOTIFY_BUFSIZE + 1]; +extern char rx_buffer[WMNOTIFY_BUFSIZE + 1]; static int @@ -32,7 +33,7 @@ POP3_ReceiveResponse( void ) { int len; - len = WmnotifyGetResponse( rx_buffer, POP3_IN_BUF_SIZE ); + len = WmnotifyGetResponse( rx_buffer, WMNOTIFY_BUFSIZE ); if( len < 0 ) { perror( PACKAGE ); ErrorLocation( __FILE__, __LINE__ );