Commit a6e6cd56 authored by Richard Sharpe's avatar Richard Sharpe Committed by Gerald (Jerry) Carter
Browse files

r559: Some fixes from coolo ...

(This used to be commit d80e90d7c19fbcd2f7e998918b4fc6d9310081a3)
parent 3bbf2f1e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
		    }