summaryrefslogtreecommitdiffstats
path: root/vncauth.c
diff options
context:
space:
mode:
authordscho <dscho>2002-08-22 10:13:48 +0000
committerdscho <dscho>2002-08-22 10:13:48 +0000
commit727b025799f7c5c37f32c4b57c892faa1e03ba72 (patch)
treeb8651bb4f19e588e729df474e9bc9ed576c9512f /vncauth.c
parent598c460ceb842d0cf9df89f93642a1594f35b993 (diff)
downloadlibtdevnc-727b025799f7c5c37f32c4b57c892faa1e03ba72.tar.gz
libtdevnc-727b025799f7c5c37f32c4b57c892faa1e03ba72.zip
synchronized with tightVNC 1.2.5
Diffstat (limited to 'vncauth.c')
-rw-r--r--vncauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vncauth.c b/vncauth.c
index 48e5f6e..64e8cbe 100644
--- a/vncauth.c
+++ b/vncauth.c
@@ -63,7 +63,7 @@ vncEncryptAndStorePasswd(char *passwd, char *fname)
/* windows security sux */
#ifndef WIN32
- chmod(fname, S_IRUSR|S_IWUSR);
+ fchmod(fp, S_IRUSR|S_IWUSR);
#endif
/* pad password with nulls */