summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_dir.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-20 06:45:18 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-20 06:45:18 +0000
commitad64fc6bc5c76cee7d7abf2971ae5097cfb243b2 (patch)
treeb73b89ca9e2ffd7cb9119b0f5244ad2a80fd5c33 /source3/smbwrapper/smbw_dir.c
parente2fcb1880b060c41555d876fd51222f97f8fd8d1 (diff)
downloadsamba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.tar.gz
samba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.tar.bz2
samba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.zip
removed setenv(), replaced with smbw_setenv()
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r--source3/smbwrapper/smbw_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 6453c55871..543a7a77ba 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -415,7 +415,7 @@ int smbw_chdir(const char *name)
DEBUG(4,("set SMBW_CWD to %s\n", cwd));
pstrcpy(smbw_cwd, cwd);
- if (setenv(SMBW_PWD_ENV, smbw_cwd, 1)) {
+ if (smbw_setenv(SMBW_PWD_ENV, smbw_cwd)) {
DEBUG(4,("setenv failed\n"));
}