]> granicus.if.org Git - php/commitdiff
use Zend API to access llist count
authorStefan Esser <sesser@php.net>
Mon, 15 Jul 2002 16:37:15 +0000 (16:37 +0000)
committerStefan Esser <sesser@php.net>
Mon, 15 Jul 2002 16:37:15 +0000 (16:37 +0000)
main/rfc1867.c

index 45c770e9505c48b08cdf1b36806e4e111b18e82e..862aa7438adb4e0df5d54dc0f86a9ec68241fb99 100644 (file)
@@ -364,7 +364,7 @@ static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header T
                        entry.value = estrdup(value);
                        entry.key = estrdup(key);
 
-               } else if (header->count) { /* If no ':' on the line, add to previous line */
+               } else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
 
                        prev_len = strlen(prev_entry.value);
                        cur_len = strlen(line);