]> code.citadel.org Git - citadel.git/blobdiff - webcit/smtpqueue.c
Revert "Removed the "fix_scrollbarbug" div and all references to it."
[citadel.git] / webcit / smtpqueue.c
index 52fee09f99da81d084ebdca0bf1d80fe71364ef1..c73e9a25613502cb228768a58cde1414679e8044 100644 (file)
@@ -1,6 +1,4 @@
 /* 
- * $Id$
- *
  * Display the outbound SMTP queue
  */
 
@@ -201,7 +199,7 @@ void display_smtpqueue_inner_div(void) {
                        wc_printf(_("Recipients"));
                        wc_printf("</i></b></td></tr>\n");
 
-                       for (i=0; i<num_msgs; ++i) {
+                       for (i=0; (i < num_msgs) && (i < Stat.maxload); ++i) {
                                Msg = GetMessagePtrAt(i, WCC->summ);
                                if (Msg != NULL) {
                                        display_queue_msg(Msg->msgnum);