summaryrefslogtreecommitdiff
path: root/ssl/pqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/pqueue.c')
-rw-r--r--ssl/pqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/pqueue.c b/ssl/pqueue.c
index 0852aceacff7..43c252f2d450 100644
--- a/ssl/pqueue.c
+++ b/ssl/pqueue.c
@@ -60,12 +60,12 @@ pitem *pqueue_insert(pqueue *pq, pitem *item)
}
for (curr = NULL, next = pq->items;
- next != NULL; curr = next, next = next->next) {
+ next != NULL; curr = next, next = next->next) {
/*
* we can compare 64-bit value in big-endian encoding with memcmp:-)
*/
int cmp = memcmp(next->priority, item->priority, 8);
- if (cmp > 0) { /* next > item */
+ if (cmp > 0) { /* next > item */
item->next = next;
if (curr == NULL)
@@ -76,7 +76,7 @@ pitem *pqueue_insert(pqueue *pq, pitem *item)
return item;
}
- else if (cmp == 0) /* duplicates not allowed */
+ else if (cmp == 0) /* duplicates not allowed */
return NULL;
}