summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-22 23:18:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:14 -0500
commit19996e23c3fc49b56ad263e6243b60a3ea4303da (patch)
treeb446c316acfa1ae75bdf06db14ac186038746d8c /source3/client
parent656140bf4b0c62e1bfdb4ea59db15808ae25edec (diff)
downloadsamba-19996e23c3fc49b56ad263e6243b60a3ea4303da.tar.gz
samba-19996e23c3fc49b56ad263e6243b60a3ea4303da.tar.bz2
samba-19996e23c3fc49b56ad263e6243b60a3ea4303da.zip
r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
buy just prevent the crash). Jeremy. (This used to be commit 9d5ef800b6d3da54a5c733cff70306ac052ddd23)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index d03c323127..dbddf76415 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -219,6 +219,7 @@ static int do_dskattr(void)
if ( !cli_resolve_path( "", cli, cur_dir, &targetcli, targetpath ) ) {
d_printf("Error in dskattr: %s\n", cli_errstr(cli));
+ return 1;
}
if (!cli_dskattr(targetcli, &bsize, &total, &avail)) {