Fix a cloned error in both sq_cat() and dq_cat()

This commit is contained in:
Gregory Nutt 2016-03-23 14:48:50 -06:00
parent b5afc187ee
commit 53a721cdd7
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 43699493840f36a03a7aed7f9bd78eab9e0770e6
Subproject commit 38b711de023cfe2f1cabc643f81d9ad5988da3cd

View File

@ -58,7 +58,7 @@ void dq_cat(FAR dq_queue_t *queue1, FAR dq_queue_t *queue2)
/* If queue2 is empty, then just move queue1 to queue2 */
if (!dq_empty(queue2))
if (dq_empty(queue2))
{
dq_move(queue1, queue2);
}

View File

@ -58,7 +58,7 @@ void sq_cat(FAR sq_queue_t *queue1, FAR sq_queue_t *queue2)
/* If queue2 is empty, then just move queue1 to queue2 */
if (!sq_empty(queue2))
if (sq_empty(queue2))
{
sq_move(queue1, queue2);
}