]> code.citadel.org Git - citadel.git/commitdiff
* imap
authorArt Cancro <ajc@citadel.org>
Sun, 25 Jun 2000 23:24:10 +0000 (23:24 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 25 Jun 2000 23:24:10 +0000 (23:24 +0000)
citadel/room_ops.c
citadel/serv_imap.c

index 7cfb9b461ee9ec154460fab0fdbec639e1442fcc..3dd4d5609b98b3ad504f26f6145cfc9673182d33 100644 (file)
@@ -618,6 +618,8 @@ void usergoto(char *where, int display_result, int *retmsgs, int *retnew)
        long *msglist = NULL;
        int num_msgs = 0;
 
+       lprintf(9, "usergoto() called for <%s>\n", where);
+
        strcpy(CC->quickroom.QRname, where);
        getroom(&CC->quickroom, where);
 
index 42c8f890dc0ffca9f5ea8134695cfd37fff585d1..4c712fa74a20bcdc5854546e9ce048e76c66606f 100644 (file)
@@ -160,7 +160,7 @@ void imap_select(char *tag, char *cmd, char *parms) {
         * usergoto() formally takes us to the desired room, happily returning
         * the number of messages and number of new messages.
         */
-       usergoto(augmented_roomname, 0, &msgs, &new);
+       usergoto(QRscratch.QRname, 0, &msgs, &new);
 
        cprintf("* %d EXISTS\r\n", msgs);
        cprintf("* %d RECENT\r\n", new);