summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp_utils.c2
-rw-r--r--src/sp_utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index 6b40e99..faf2e9a 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -30,7 +30,7 @@ void sp_log_msg(char const *feature, char const *level, const char* fmt, ...) {
30} 30}
31 31
32 32
33zend_always_inline char* sp_getenv(const char* var) { 33zend_always_inline char* sp_getenv(char* var) {
34 if (sapi_module.getenv) { 34 if (sapi_module.getenv) {
35 return sapi_module.getenv(ZEND_STRL(var)); 35 return sapi_module.getenv(ZEND_STRL(var));
36 } else { 36 } else {
diff --git a/src/sp_utils.h b/src/sp_utils.h
index 5b22e8a..61a4c53 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -58,7 +58,7 @@ void sp_log_disable(const char *restrict, const char *restrict,
58 const char *restrict, const sp_disabled_function *); 58 const char *restrict, const sp_disabled_function *);
59void sp_log_disable_ret(const char *restrict, const char *restrict, 59void sp_log_disable_ret(const char *restrict, const char *restrict,
60 const sp_disabled_function *); 60 const sp_disabled_function *);
61char *sp_getenv(const char *); 61char *sp_getenv(char *);
62int is_regexp_matching(const pcre *, const char *); 62int is_regexp_matching(const pcre *, const char *);
63int hook_function(const char *, HashTable *, 63int hook_function(const char *, HashTable *,
64 void (*)(INTERNAL_FUNCTION_PARAMETERS), bool); 64 void (*)(INTERNAL_FUNCTION_PARAMETERS), bool);