]> granicus.if.org Git - php/commitdiff
# Fix silly typo
authorRasmus Lerdorf <rasmus@php.net>
Sat, 8 Jan 2000 14:36:12 +0000 (14:36 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 8 Jan 2000 14:36:12 +0000 (14:36 +0000)
main/safe_mode.c

index 85f09337fd8626b198c46b617272a20ecc88b748..9704d856f94f58754b92ac68fef4bd71dd00e636 100644 (file)
@@ -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,'/');
        }