projects
/
dockapps
/
wmnotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for IMAP4 commands that may span multiple packets by calling recv(...
[dockapps/wmnotify.git]
/
src
/
pop3.c
diff --git
a/src/pop3.c
b/src/pop3.c
index
d9da74f
..
268647c
100644
(file)
--- a/
src/pop3.c
+++ b/
src/pop3.c
@@
-23,8
+23,9
@@
#include "pop3.h"
#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
static int
@@
-32,7
+33,7
@@
POP3_ReceiveResponse( void )
{
int len;
{
int len;
- len = WmnotifyGetResponse( rx_buffer,
POP3_IN_BUF_
SIZE );
+ len = WmnotifyGetResponse( rx_buffer,
WMNOTIFY_BUF
SIZE );
if( len < 0 ) {
perror( PACKAGE );
ErrorLocation( __FILE__, __LINE__ );
if( len < 0 ) {
perror( PACKAGE );
ErrorLocation( __FILE__, __LINE__ );