]> granicus.if.org Git - php/commitdiff
Fix some small issues.
authorSterling Hughes <sterling@php.net>
Tue, 3 Oct 2000 15:51:39 +0000 (15:51 +0000)
committerSterling Hughes <sterling@php.net>
Tue, 3 Oct 2000 15:51:39 +0000 (15:51 +0000)
ext/skeleton/php_skeleton.h
ext/skeleton/skeleton.c

index 7bdba664d5e3754e01304d45a75046046a6aff67..11af41e00f41792a56923d180d9b697d18ff039e 100644 (file)
@@ -47,7 +47,7 @@ typedef struct {
 
 #ifdef ZTS
 #define EXTNAMEG(v) (extname_globals->v)
-#define EXTNAMELS_FETCH() php_extname_globals *extname_globals = ts_resource(gd_extname_id)
+#define EXTNAMELS_FETCH() php_extname_globals *extname_globals = ts_resource(extname_globals_id)
 #else
 #define EXTNAMEG(v) (extname_globals.v)
 #define EXTNAMELS_FETCH()
index eae16152337caa029aec936dc6c9e1889a315f37..552224308a0430009c3466e27202c385faa23835 100644 (file)
@@ -102,7 +102,7 @@ PHP_FUNCTION(confirm_extname_compiled)
        convert_to_string_ex(arg);
 
        len = sprintf(string, "Congratulations, you have successfully modified ext/extname/config.m4, module %s is compiled into PHP", Z_STRVAL_PP(arg));
-       RETVAL_STRINGL(string, len, 1);
+       RETURN_STRINGL(string, len, 1);
 }
 /* }}} */
 /* The previous line is meant for emacs, so it can correctly fold and unfold