summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-10-09 19:10:39 +0000
committerAndrei Zmievski <andrei@php.net>2000-10-09 19:10:39 +0000
commita193c9ce3e02cd6b368c12fa394b2d8bba85d03e (patch)
tree6f8937950f8ed9bca95424c404b779bf5fee8f2a /ext/swf/swf.c
parent92b3dd06e301db83ded4a5609272b6c6d4d4d68f (diff)
downloadphp-git-a193c9ce3e02cd6b368c12fa394b2d8bba85d03e.tar.gz
Fix a misconfiguration error and missing return statement.
Diffstat (limited to 'ext/swf/swf.c')
-rw-r--r--ext/swf/swf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index 32ec0c1aaf..d5bc6181ea 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -157,6 +157,8 @@ PHP_MINIT_FUNCTION(swf)
PHP_RINIT_FUNCTION(swf)
{
SWFG(use_file) = 0;
+
+ return SUCCESS;
}
/* {{{ proto void swf_openfile(string name, double xsize, double ysize, double framerate, double r, double g, double b)