]> granicus.if.org Git - php/commitdiff
Left-over outdated comment
authorRasmus Lerdorf <rasmus@php.net>
Sat, 21 Jul 2001 15:51:40 +0000 (15:51 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 21 Jul 2001 15:51:40 +0000 (15:51 +0000)
ext/standard/head.c

index 3c91f228b79d7b689d60e93550651206c964def9..c84fee46df522787c0aae6cc4d17874ad6dc64e2 100644 (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=");