summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-16 18:41:02 +0000
committerSascha Schumann <sas@php.net>2000-03-16 18:41:02 +0000
commitf0d631ad8fd2981751629b9cbc142c07d14d9cf1 (patch)
tree6656505195c56c2e68be9c063edd92711f59196e
parent1ed113d9258609256b2459e732c4c6300e794d64 (diff)
downloadphp-git-f0d631ad8fd2981751629b9cbc142c07d14d9cf1.tar.gz
Use old_state
-rw-r--r--main/php_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_virtual_cwd.c b/main/php_virtual_cwd.c
index 1643d02cc4..3efc1f879a 100644
--- a/main/php_virtual_cwd.c
+++ b/main/php_virtual_cwd.c
@@ -177,7 +177,7 @@ int virtual_chdir(cwd_state *state, char *path)
free(state->cwd);
state->cwd = old_state->cwd;
- state->cwd_length = state->cwd_length;
+ state->cwd_length = old_state->cwd_length;
free(old_state);