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:
c1a3346
)
Fixed missing NULL check in tar op.
author
Jeremy Allison
<jra@samba.org>
Tue, 17 Nov 1998 01:44:25 +0000
(
01:44
+0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 17 Nov 1998 01:44:25 +0000
(
01:44
+0000)
Jeremy.
source/client/client.c
patch
|
blob
|
history
diff --git
a/source/client/client.c
b/source/client/client.c
index 6d9482ff28ebda0d60cfb79c4f36f549d1a78066..8356d99b7bd25babdaaf7fe71784f262032ca00c 100644
(file)
--- a/
source/client/client.c
+++ b/
source/client/client.c
@@
-1718,7
+1718,6
@@
struct cli_state *do_connect(char *server, char *share)
static BOOL process(char *base_directory)
{
cli = do_connect(desthost, service);
-
if (!cli) {
return(False);
}
@@
-1836,7
+1835,8
@@
handle a -L query
static int do_host_query(char *query_host, int port)
{
cli = do_connect(query_host, "IPC$");
- if (!cli) return 1;
+ if (!cli)
+ return 1;
browse_host(True);
list_servers(workgroup);
@@
-1854,6
+1854,8
@@
static int do_tar_op(int port, char *base_directory)
{
int ret;
cli = do_connect(desthost, service);
+ if (!cli)
+ return 1;
recurse=True;