Citadel API clean up.
[citadel.git] / citadel / modules / pop3 / serv_pop3.c
index baee5a2aafc6926e7687f76d7da763d6a188323f..c0db0ea86f22f37c86895aa518851914bedeceed 100644 (file)
@@ -61,7 +61,6 @@
 #include "citserver.h"
 #include "support.h"
 #include "config.h"
-#include "room_ops.h"
 #include "user_ops.h"
 #include "policy.h"
 #include "database.h"
@@ -195,7 +194,7 @@ int pop3_grab_mailbox(void) {
         struct visit vbuf;
        int i;
 
-       if (getroom(&CC->room, MAILROOM) != 0) return(-1);
+       if (CtdlGetRoom(&CC->room, MAILROOM) != 0) return(-1);
 
        /* Load up the messages */
        CtdlForEachMessage(MSGS_ALL, 0L, NULL, NULL, NULL,