]> granicus.if.org Git - php/commitdiff
fix typo
authorAntony Dovgal <tony2001@php.net>
Tue, 10 Jun 2008 08:14:59 +0000 (08:14 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 10 Jun 2008 08:14:59 +0000 (08:14 +0000)
ext/standard/head.c

index 7728b669f241272f6a17729d859fb26c7505b7c0..a0356394d8161026d8df1f11690b2428d72d5fbb 100644 (file)
@@ -69,12 +69,12 @@ PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, t
        int result;
        
        if (name && strpbrk(name, "=,; \t\r\n\013\014") != NULL) {   /* man isspace for \013 and \014 */
-               zend_error( E_WARNING, "Cookie names can not contain any of the folllowing '=,; \\t\\r\\n\\013\\014'" );
+               zend_error( E_WARNING, "Cookie names can not contain any of the following '=,; \\t\\r\\n\\013\\014'" );
                return FAILURE;
        }
 
        if (!url_encode && value && strpbrk(value, ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */
-               zend_error( E_WARNING, "Cookie values can not contain any of the folllowing ',; \\t\\r\\n\\013\\014'" );
+               zend_error( E_WARNING, "Cookie values can not contain any of the following ',; \\t\\r\\n\\013\\014'" );
                return FAILURE;
        }