From 56c5dc7de1eceaf8c834e72ec8b7a42d61784880 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 16 Oct 1998 23:05:19 +0000 Subject: changed some debug levels (This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943) --- source3/smbwrapper/smbw_stat.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source3/smbwrapper/smbw_stat.c') 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; } - - -- cgit