summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2000-01-08 14:36:12 +0000
committerRasmus Lerdorf <rasmus@php.net>2000-01-08 14:36:12 +0000
commite8b74e56c9c7c5888d921e433238f5be8019a63b (patch)
tree7cc141a263dee33bd79dfa6554bda27e85e2b2e3 /main
parente1334ec9bb12bdb63db81383557b06666ca1119d (diff)
downloadphp-git-e8b74e56c9c7c5888d921e433238f5be8019a63b.tar.gz
# Fix silly typo
Diffstat (limited to 'main')
-rw-r--r--main/safe_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c
index 85f09337fd..9704d856f9 100644
--- a/main/safe_mode.c
+++ b/main/safe_mode.c
@@ -73,7 +73,7 @@ PHPAPI int php_checkuid(const char *fn, int mode) {
* used to confuse the function.
*/
while(s && *(s+1)=='\0' && s>fn) {
- s='\0';
+ *s='\0';
s = strrchr(fn,'/');
}