projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
basic support for builtins
[m6w6/ext-psi]
/
php_psi.h
diff --git
a/php_psi.h
b/php_psi.h
index 91f303010ab16a4e5cfbbc61775535934e485ebd..01582c58cc33c78ad73ced60a76d6a0fa0de6b11 100644
(file)
--- a/
php_psi.h
+++ b/
php_psi.h
@@
-47,7
+47,7
@@
extern zend_module_entry psi_module_entry;
static inline int psi_check_env(const char *var) {
char *set = getenv(var);
- return (set && *set &&
'0' != *set
);
+ return (set && *set &&
(*set != '0' || set[1])
);
}
typedef struct psi_object {