summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2004-05-07 16:46:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:29 -0500
commita6e6cd569109f2176a6ef0450f681674a897f58a (patch)
treecc5f4553e751353942882e5aca1bb047cd02e492
parent3bbf2f1e0a9078b6888866979642962c8b8a90af (diff)
downloadsamba-a6e6cd569109f2176a6ef0450f681674a897f58a.tar.gz
samba-a6e6cd569109f2176a6ef0450f681674a897f58a.tar.bz2
samba-a6e6cd569109f2176a6ef0450f681674a897f58a.zip
r559: Some fixes from coolo ...
(This used to be commit d80e90d7c19fbcd2f7e998918b4fc6d9310081a3)
-rw-r--r--source3/libsmb/libsmbclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 2ef054473b..f08d9440f9 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -1902,8 +1902,8 @@ static SMBCFILE *smbc_opendir_ctx(SMBCCTX *context, const char *fname)
* the first choice and fall back to MSBROWSE if the
* wildcard query fails.
*/
- if (!name_status_find("*", 0, 0x1d, server_ip, server) &&
- !name_status_find(MSBROWSE, 1, 0x1d, server_ip, server)) {
+ if (!name_status_find("*", 0, 0x20, server_ip, server) &&
+ !name_status_find(MSBROWSE, 1, 0x1b, server_ip, server)) {
errno = ENOENT;
return NULL;
}