diff options
Diffstat (limited to 'Zend/zend_llist.c')
-rw-r--r-- | Zend/zend_llist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_llist.c b/Zend/zend_llist.c index 9028e19dbf..1634327921 100644 --- a/Zend/zend_llist.c +++ b/Zend/zend_llist.c @@ -5,7 +5,7 @@ | Copyright (c) 1998-2014 Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | - | that is bundled with this package in the file LICENSE, and is | + | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | @@ -105,7 +105,7 @@ ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare ZEND_API void zend_llist_destroy(zend_llist *l) { zend_llist_element *current=l->head, *next; - + while (current) { next = current->next; if (l->dtor) { @@ -141,7 +141,7 @@ ZEND_API void zend_llist_remove_tail(zend_llist *l) l->tail = old_tail->prev; --l->count; - + if (l->dtor) { l->dtor(old_tail->data); } |