Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Partially revert d8ac163 because php.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Oct 13, 2017
1 parent 4720981 commit a2bf2e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sp_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void sp_log_msg(char const *feature, char const *level, const char* fmt, ...) {
}


zend_always_inline char* sp_getenv(const char* var) {
zend_always_inline char* sp_getenv(char* var) {
if (sapi_module.getenv) {
return sapi_module.getenv(ZEND_STRL(var));
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/sp_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void sp_log_disable(const char *restrict, const char *restrict,
const char *restrict, const sp_disabled_function *);
void sp_log_disable_ret(const char *restrict, const char *restrict,
const sp_disabled_function *);
char *sp_getenv(const char *);
char *sp_getenv(char *);
int is_regexp_matching(const pcre *, const char *);
int hook_function(const char *, HashTable *,
void (*)(INTERNAL_FUNCTION_PARAMETERS), bool);
Expand Down

0 comments on commit a2bf2e7

Please sign in to comment.