]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/msgbase.c
"visit" is now "struct visit" again.
[citadel.git] / citadel / server / msgbase.c
index bf6bb4056e622723310c64c6a6eda23779ecaaf1..43481ad2c80705faf03488c01df1dfa478e67167 100644 (file)
@@ -386,7 +386,7 @@ int CtdlMsgCmp(struct CtdlMessage *msg, struct CtdlMessage *template) {
 
 // Retrieve the "seen" message list for the current room.
 void CtdlGetSeen(char *buf, int which_set) {
-       visit vbuf;
+       struct visit vbuf;
 
        // Learn about the user and room in question
        CtdlGetRelationship(&vbuf, &CC->user, &CC->room);
@@ -410,7 +410,7 @@ void CtdlSetSeen(long *target_msgnums, int num_target_msgnums,
        int was_seen = 0;
        long lo = (-1L);
        long hi = (-1L);
-       visit vbuf;
+       struct visit vbuf;
        long *msglist;
        int num_msgs = 0;
        StrBuf *vset;
@@ -625,7 +625,7 @@ int CtdlForEachMessage(int mode, long ref, char *search_string,
                        void *userdata)
 {
        int a, i, j;
-       visit vbuf;
+       struct visit vbuf;
        struct cdbdata *cdbfr;
        long *msglist = NULL;
        int num_msgs = 0;