Oops, managed to commit a partial change regarding the POP3 client
[citadel.git] / citadel / control.c
index f03aea7b35d4662a8f7eafc324525c4a4582383c..d33db78dedd4dd1860cb65115d3d9d25a3ced3c6 100644 (file)
@@ -41,6 +41,7 @@
 #include "room_ops.h"
 #include "user_ops.h"
 #include "database.h"
+#include "threads.h"
 
 #ifndef HAVE_SNPRINTF
 #include "snprintf.h"
@@ -332,6 +333,8 @@ void cmd_conf(char *argbuf)
                cprintf("%d\n", config.c_imap_keep_from);
                cprintf("%d\n", config.c_xmpp_c2s_port);
                cprintf("%d\n", config.c_xmpp_s2s_port);
+               cprintf("%ld\n", config.c_pop3_fetch);
+               cprintf("%ld\n", config.c_pop3_fastest);
                cprintf("000\n");
        }
 
@@ -579,6 +582,12 @@ void cmd_conf(char *argbuf)
                        case 63:
                                config.c_xmpp_s2s_port = atoi(buf);
                                break;
+                       case 64:
+                               config.c_pop3_fetch = atol(buf);
+                               break;
+                       case 65:
+                               config.c_pop3_fastest = atol(buf);
+                               break;
                        }
                        ++a;
                }