diff options
author | Jim McDonough <jmcd@samba.org> | 2002-06-01 01:03:04 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-06-01 01:03:04 +0000 |
commit | 125432c73abedff1309c87cb50507fccb787cf43 (patch) | |
tree | b544e8285999a6bf14a674d17c598b18569d6d46 /source3/utils/net.c | |
parent | f2d37f907c464996eb20dc62bd324751547f6584 (diff) | |
download | samba-125432c73abedff1309c87cb50507fccb787cf43.tar.gz samba-125432c73abedff1309c87cb50507fccb787cf43.tar.bz2 samba-125432c73abedff1309c87cb50507fccb787cf43.zip |
Add remainder of net rpc file subcommands, and autoselect transport on
net file
(This used to be commit fd938eca210602790c4d0e442f3aa9aa22b5fdf2)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 9e4c5e52c9..6e5202a400 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -323,8 +323,7 @@ static int net_share(int argc, const char **argv) static int net_file(int argc, const char **argv) { - /* only file list is implemented in RPC */ - if (argc == 0 && net_rpc_check(0)) + if (net_rpc_check(0)) return net_rpc_file(argc, argv); return net_rap_file(argc, argv); } |