]> andersk Git - moira.git/commitdiff
sq_save_unique_data and sq_save_unique_string didn't used to
authormar <mar>
Tue, 16 Feb 1988 16:24:24 +0000 (16:24 +0000)
committermar <mar>
Tue, 16 Feb 1988 16:24:24 +0000 (16:24 +0000)
cdr down the queue correctly

server/qsubs.c

index 7ded11f0468ae7b3a2340dd79ac77ac730a41149..ebca4b6de7e7cde19cdeb2e9747befc3c5bd55ff 100644 (file)
@@ -6,9 +6,17 @@
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
  *     $Log$
- *     Revision 1.4  1987-08-29 00:04:14  mike
- *     added sq_save_unique_string
+ *     Revision 1.5  1988-02-16 16:24:24  mar
+ *     sq_save_unique_data and sq_save_unique_string didn't used to
+ *     cdr down the queue correctly
  *
+ * Revision 1.5  88/02/16  15:12:58  mar
+ * sq_save_unique_data and sq_save_unique_string didn't used
+ * to cdr down the queue correctly.
+ * 
+ * Revision 1.4  87/08/29  00:04:14  mike
+ * added sq_save_unique_string
+ * 
  * Revision 1.3  87/08/22  17:44:39  wesommer
  * Cleaning up after mike again.
  * 
@@ -268,7 +276,7 @@ sq_save_unique_data(sq, data)
 {
     register struct save_queue *q;
 
-    for (q = sq->q_next; q != sq; q = sq->q_next)
+    for (q = sq->q_next; q != sq; q = q->q_next)
        if (q->q_data == data) return;
 
     sq_save_data(sq, data);
@@ -280,7 +288,7 @@ sq_save_unique_string(sq, data)
 {
     register struct save_queue *q;
 
-    for (q = sq->q_next; q != sq; q = sq->q_next)
+    for (q = sq->q_next; q != sq; q = q->q_next)
        if (!strcmp(q->q_data, data)) return;
 
     sq_save_data(sq, data);
This page took 0.045755 seconds and 5 git commands to generate.