r559: Some fixes from coolo ...
authorRichard Sharpe <sharpe@samba.org>
Fri, 7 May 2004 16:46:37 +0000 (16:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:29 +0000 (10:51 -0500)
(This used to be commit d80e90d7c19fbcd2f7e998918b4fc6d9310081a3)

source3/libsmb/libsmbclient.c

index 2ef054473ba84a082e2eeb641353645836c6d13d..f08d9440f968ae38459aeaeb8df62f447ddf3343 100644 (file)
@@ -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;
                    }