Fixed a bug when receiving more than 1024 bytes from IMAP4 server
[dockapps/wmnotify.git] / src / network.h
index 19a9f2c..286b4dd 100644 (file)
@@ -14,8 +14,8 @@
 
 
 /* POP3 responses may be up to 512 characters long, including the terminating
-   CRLF. */
-#define WMNOTIFY_BUFSIZE 1024
+   CRLF. IMAP4 responses can be more than 1024 characters. */
+#define WMNOTIFY_BUFSIZE 10240
 
 
 int