summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/smbw_stat.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
committerJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
commitbacd3e9d2036a804e73644a28fc498f229c8446c (patch)
treea73364caa60bc43abcf20aae6ac51944ced7beac /source/smbwrapper/smbw_stat.c
parent373f60256fc6dc800f73d88ea9a302933a4a3246 (diff)
downloadsamba-bacd3e9d2036a804e73644a28fc498f229c8446c.tar.gz
samba-bacd3e9d2036a804e73644a28fc498f229c8446c.tar.xz
samba-bacd3e9d2036a804e73644a28fc498f229c8446c.zip
Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy.
Diffstat (limited to 'source/smbwrapper/smbw_stat.c')
-rw-r--r--source/smbwrapper/smbw_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbwrapper/smbw_stat.c b/source/smbwrapper/smbw_stat.c
index 443c898eb50..c84140f3629 100644
--- a/source/smbwrapper/smbw_stat.c
+++ b/source/smbwrapper/smbw_stat.c
@@ -65,7 +65,7 @@ try to do a QPATHINFO and if that fails then do a getatr
this is needed because win95 sometimes refuses the qpathinfo
*******************************************************/
BOOL smbw_getatr(struct smbw_server *srv, char *path,
- uint32 *mode, size_t *size,
+ uint16 *mode, size_t *size,
time_t *c_time, time_t *a_time, time_t *m_time,
SMB_INO_T *ino)
{
@@ -130,7 +130,7 @@ int smbw_fstat(int fd, struct stat *st)
struct smbw_file *file;
time_t c_time, a_time, m_time;
size_t size;
- uint32 mode;
+ uint16 mode;
SMB_INO_T ino = 0;
smbw_busy++;
@@ -178,7 +178,7 @@ int smbw_stat(const char *fname, struct stat *st)
pstring path;
time_t m_time=0, a_time=0, c_time=0;
size_t size=0;
- uint32 mode=0;
+ uint16 mode=0;
SMB_INO_T ino = 0;
ZERO_STRUCTP(st);