From: Sterling Hughes Date: Tue, 3 Oct 2000 15:51:39 +0000 (+0000) Subject: Fix some small issues. X-Git-Tag: php-4.0.3RC2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e97718461b24793b9ba6197daddd5d34344e420a;p=php Fix some small issues. --- diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h index 7bdba664d5..11af41e00f 100644 --- a/ext/skeleton/php_skeleton.h +++ b/ext/skeleton/php_skeleton.h @@ -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() diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index eae1615233..552224308a 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -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