diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-07-16 04:31:13 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-07-16 04:31:13 +0000 |
commit | 721c562e2a64d7e0bb551432b919fe4b46ce6743 (patch) | |
tree | 35bcf99442e3bdb0a3278cbc7fa2210315918b09 /main/safe_mode.c | |
parent | 1d5f1bb46446ac77efeb9cb009f5355197c6d352 (diff) | |
download | php-git-721c562e2a64d7e0bb551432b919fe4b46ce6743.tar.gz |
Fix a couple of build warnings
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r-- | main/safe_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index f20fe516c4..c21e082468 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -97,7 +97,7 @@ PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode) } /* Trim off filename */ - if (s = strrchr(path,DEFAULT_SLASH)) { + if ((s = strrchr(path,DEFAULT_SLASH))) { *s = '\0'; } } else { /* CHECKUID_ALLOW_ONLY_DIR */ |