]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/room_ops.c
"visit" is now "struct visit" again.
[citadel.git] / citadel / server / room_ops.c
index f9abe87785db6a740bbab734f08083c9859efff3..cb85378c50d2f292d9f336d8668e0c0b04b5cac4 100644 (file)
@@ -97,7 +97,7 @@ int CtdlDoIHavePermissionToDeleteMessagesFromThisRoom(void) {
 // Yes, it has a couple of gotos.  If you don't like that, go die in a car fire.
 void CtdlRoomAccess(struct ctdlroom *roombuf, struct ctdluser *userbuf, int *result, int *view) {
        int retval = 0;
-       visit vbuf;
+       struct visit vbuf;
        int is_me = 0;
        int is_guest = 0;
 
@@ -625,7 +625,7 @@ void CtdlUserGoto(char *where, int display_result, int transiently, int *retmsgs
        int info = 0;
        int rmailflag;
        int raideflag;
-       visit vbuf;
+       struct visit vbuf;
        char truncated_roomname[ROOMNAMELEN];
         struct cdbdata *cdbfr;
        long *msglist = NULL;
@@ -1031,7 +1031,7 @@ unsigned CtdlCreateRoom(char *new_room_name,
 {
        struct ctdlroom qrbuf;
        struct floor flbuf;
-       visit vbuf;
+       struct visit vbuf;
 
        syslog(LOG_DEBUG, "room_ops: CtdlCreateRoom(name=%s, type=%d, view=%d)", new_room_name, new_room_type, new_room_view);