From: mar Date: Tue, 16 Feb 1988 16:24:24 +0000 (+0000) Subject: sq_save_unique_data and sq_save_unique_string didn't used to X-Git-Tag: BETA5-24-88~5 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/517b9fa0535de39bca03c95a78b11df5a05ec0f0?ds=inline;hp=f89684dc833158c8e570268e8a808b07d34d8ff2 sq_save_unique_data and sq_save_unique_string didn't used to cdr down the queue correctly --- diff --git a/server/qsubs.c b/server/qsubs.c index 7ded11f0..ebca4b6d 100644 --- a/server/qsubs.c +++ b/server/qsubs.c @@ -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);