summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2000-07-18 05:52:03 +0000
committerSterling Hughes <sterling@php.net>2000-07-18 05:52:03 +0000
commitbb5987fe7410b2172bc2b96000432899fe1387aa (patch)
treef4db0c9e1fd1f4711fb12cb5b1c253833b760017 /ext/swf/swf.c
parent84d4f5cad41df5906711fcaca7b65728ce41b22a (diff)
downloadphp-git-bb5987fe7410b2172bc2b96000432899fe1387aa.tar.gz
Patch STDOUT support.
Diffstat (limited to 'ext/swf/swf.c')
-rw-r--r--ext/swf/swf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index eaea922cc0..146d25473c 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -175,7 +175,7 @@ PHP_FUNCTION(swf_openfile)
}
#endif
- swf_openfile((strcasecmp("php://stdout", na)==0) ? fileno(stdout) : na,
+ swf_openfile((strcasecmp("php://stdout", na)==0) ? "STDOUT" : na,
(float)Z_DVAL_PP(sizeX), (float)Z_DVAL_PP(sizeY),
(float)Z_DVAL_PP(frameRate), (float)Z_DVAL_PP(r), (float)Z_DVAL_PP(g), (float)Z_DVAL_PP(b));
#ifdef VIRTUAL_DIR