summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_stat.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-16 23:05:19 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-16 23:05:19 +0000
commit56c5dc7de1eceaf8c834e72ec8b7a42d61784880 (patch)
treeebd657c7955c74964a87f4fc8403de680c2aebf9 /source3/smbwrapper/smbw_stat.c
parent4865debe85a0e22692ce61ab5438b651fd91ba92 (diff)
downloadsamba-56c5dc7de1eceaf8c834e72ec8b7a42d61784880.tar.gz
samba-56c5dc7de1eceaf8c834e72ec8b7a42d61784880.tar.bz2
samba-56c5dc7de1eceaf8c834e72ec8b7a42d61784880.zip
changed some debug levels
(This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
Diffstat (limited to 'source3/smbwrapper/smbw_stat.c')
-rw-r--r--source3/smbwrapper/smbw_stat.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/smbwrapper/smbw_stat.c b/source3/smbwrapper/smbw_stat.c
index d9e2aa250c..adf973667f 100644
--- a/source3/smbwrapper/smbw_stat.c
+++ b/source3/smbwrapper/smbw_stat.c
@@ -63,7 +63,7 @@ BOOL smbw_getatr(struct smbw_server *srv, char *path,
uint32 *mode, size_t *size,
time_t *c_time, time_t *a_time, time_t *m_time)
{
- DEBUG(5,("sending qpathinfo\n"));
+ DEBUG(4,("sending qpathinfo\n"));
if (!srv->no_pathinfo2 &&
cli_qpathinfo2(&srv->cli, path, c_time, a_time, m_time, NULL,
@@ -135,6 +135,8 @@ int smbw_fstat(int fd, struct stat *st)
return ret;
}
+ DEBUG(4,("sending qfileinfo\n"));
+
if (!cli_qfileinfo(&file->srv->cli, file->f->cli_fd,
&mode, &size, &c_time, &a_time, &m_time) &&
!cli_getattrE(&file->srv->cli, file->f->cli_fd,
@@ -173,6 +175,8 @@ int smbw_stat(const char *fname, struct stat *st)
return -1;
}
+ DEBUG(4,("stat(%s)\n", fname));
+
smbw_init();
smbw_busy++;
@@ -187,6 +191,8 @@ int smbw_stat(const char *fname, struct stat *st)
goto failed;
}
+ DEBUG(4,("smbw_stat\n"));
+
if (strncmp(srv->cli.dev,"IPC",3) == 0) {
mode = aDIR | aRONLY;
} else if (strncmp(srv->cli.dev,"LPT",3) == 0) {
@@ -219,5 +225,3 @@ int smbw_stat(const char *fname, struct stat *st)
smbw_busy--;
return -1;
}
-
-