git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b17284
)
use cli_list_old() when negotiating the older protocols
author
Andrew Tridgell
<tridge@samba.org>
Sun, 25 Feb 2001 23:46:28 +0000
(23:46 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 25 Feb 2001 23:46:28 +0000
(23:46 +0000)
source/libsmb/clilist.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clilist.c
b/source/libsmb/clilist.c
index d4cc00d9f3bee2aebddca2993783ef60b0926f8b..c30f69a36cd6dd94750c7234bb00a245f4504c01 100644
(file)
--- a/
source/libsmb/clilist.c
+++ b/
source/libsmb/clilist.c
@@
-178,6
+178,10
@@
int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute,
int param_len, data_len;
uint16 setup;
pstring param;
+
+ if (cli->protocol <= PROTOCOL_LANMAN1) {
+ return cli_list_old(cli, Mask, attribute, fn, state);
+ }
pstrcpy(mask,Mask);