Fixed a bug when receiving more than 1024 bytes from IMAP4 server
[dockapps/wmnotify.git] / src / network.h
index e291aa2..286b4dd 100644 (file)
 #include <unistd.h>
 
 
+/* POP3 responses may be up to 512 characters long, including the terminating
+   CRLF. IMAP4 responses can be more than 1024 characters. */
+#define WMNOTIFY_BUFSIZE 10240
+
+
 int
 SocketOpen( char *server_name, int port );