1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00
Anoop C S eb2e29c354 s3-smbcontrol: Replace && with || to declare variables in do_sleep()
--enable-developer internally use --enable-selftest alongside. But when
configured only with --enable-selftest the following code block becomes
invalid:

 #if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
        unsigned int seconds;
        long input;
        const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */
 #endif

making those variables undeclared for further use. Therefore replace &&
with || to have those variables declared with --enable-selftest
configure option.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184
2019-05-31 20:38:09 +00:00
..
2019-04-12 00:37:05 +00:00
2019-04-12 00:37:05 +00:00
2016-11-23 13:00:21 +01:00
2018-05-24 18:07:03 +02:00
2018-12-11 00:40:30 +01:00
2017-01-22 18:30:11 +01:00
2018-12-20 23:40:23 +01:00
2018-12-11 00:40:30 +01:00
2018-12-11 00:40:31 +01:00
2019-04-12 00:37:05 +00:00
2018-12-11 00:40:30 +01:00
2019-04-14 04:01:31 +00:00
2019-04-12 00:37:05 +00:00