mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:torture: Fix building with -O3 and gcc 7
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
8eb95bc1d1
commit
11c95b8c8d
@ -1478,7 +1478,8 @@ static bool tcon_devtest(struct cli_state *cli,
|
||||
|
||||
if (NT_STATUS_IS_OK(expected_error)) {
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
if (strcmp(cli->dev, return_devtype) == 0) {
|
||||
if (return_devtype != NULL &&
|
||||
strequal(cli->dev, return_devtype)) {
|
||||
ret = True;
|
||||
} else {
|
||||
printf("tconX to share %s with type %s "
|
||||
|
Loading…
Reference in New Issue
Block a user