1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00

Left-over outdated comment

This commit is contained in:
Rasmus Lerdorf
2001-07-21 15:51:40 +00:00
parent 7ce1846761
commit cc44119bf6

View File

@@ -143,7 +143,6 @@ PHP_FUNCTION(setcookie)
sprintf(cookie, "Set-Cookie: %s=deleted; expires=%s", Z_STRVAL_PP(z_name), dt);
efree(dt);
} else {
/* FIXME: XXX: this is not binary data safe */
sprintf(cookie, "Set-Cookie: %s=%s", Z_STRVAL_PP(z_name), (z_value && Z_STRVAL_PP(z_value)) ? encoded_value : "");
if (expires > 0) {
strcat(cookie, "; expires=");