]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
authorJeremy Allison <jra@samba.org>
Tue, 22 Mar 2005 23:18:41 +0000 (23:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:14 +0000 (10:56 -0500)
buy just prevent the crash).
Jeremy.

source/client/client.c

index d03c32312723310d146944c7ba753da91afe9f66..dbddf764158f49c8310ba20f6dff5c2f73c30555 100644 (file)
@@ -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)) {