* Removed some cruft leftover from the old bbs view
authorArt Cancro <ajc@citadel.org>
Wed, 13 Jan 2010 21:38:05 +0000 (21:38 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 13 Jan 2010 21:38:05 +0000 (21:38 +0000)
webcit/messages.c
webcit/messages.h

index b793f308c291554efe48c8ab65c66d9f485c751e..23f81d3c883574a4c4250cd4c93892d86742364a 100644 (file)
@@ -837,8 +837,9 @@ void readloop(long oper)
                if (SortIt != NULL)
                        SortByPayload(WCC->summ, SortIt);
        }
-       if (Stat.startmsg < 0) 
-               Stat.startmsg = (Stat.reverse) ? Stat.nummsgs - 1 : 0;
+       if (Stat.startmsg < 0) {
+               Stat.startmsg =  0;
+       }
 
        if (Stat.load_seen) load_seen_flags();
        
index e543ff0322d88e9b39099ce48099d79c3f2386d9..df6b5f7ef2328bae2384473f34a945e04fdc1aaa 100644 (file)
@@ -98,23 +98,22 @@ int load_message(message_summary *Msg,
 
 
 
-typedef struct _SharedMessageStatus{
-       long load_seen;        /** should read information be loaded */
-       long sortit;           /** should we sort it using the standard sort API? */
-       long defaultsortorder; /** if we should sort it, which direction should be the default? */
+typedef struct _SharedMessageStatus {
+       long load_seen;        /* should read information be loaded */
+       long sortit;           /* should we sort it using the standard sort API? */
+       long defaultsortorder; /* if we should sort it, which direction should be the default? */
 
-       long maxload;          /** how many headers should we accept from the server? defaults to 10k */
-       long maxmsgs;          /** how many message bodies do you want to load at most?*/
-       long reverse;          /** should the load-range be reversed? */
+       long maxload;          /* how many headers should we accept from the server? defaults to 10k */
+       long maxmsgs;          /* how many message bodies do you want to load at most?*/
 
-       long startmsg;         /** which is the start message ????? */
-       long nummsgs;          /** How many messages are available to your view? */
-       long num_displayed;    /** counted up for LoadMsgFromServer */ /* TODO: unclear who should access this and why */
+       long startmsg;         /* which is the start message? */
+       long nummsgs;          /* How many messages are available to your view? */
+       long num_displayed;    /* counted up for LoadMsgFromServer */ /* TODO: unclear who should access this and why */
 
-       long lowest_found;     /** smallest Message ID found;  */
-       long highest_found;    /** highest Message ID found;  */
+       long lowest_found;     /* smallest Message ID found;  */
+       long highest_found;    /* highest Message ID found;  */
 
-}SharedMessageStatus;
+} SharedMessageStatus;
 
 int load_msg_ptrs(const char *servcmd, SharedMessageStatus *Stat);